Text Align and Quotes around tags
Posted: Mon Aug 11, 2008 7:39 pm
I have been trying center this one piece of text but I keep getting different parse errors. Please help. I have an <h4> tag and I want to center align. It have something to do with the "" and the ; but where and how. Somewhere in lines 5,6, & 7....right. I want to center Categories text. The quotes are confusing and I'm new to php can someone explain why I can't just take out the quotes around the "<h4>"
Code: Select all
<?php if( !defined( '_VALID_MOS' ) && !defined( '_JEXEC' ) ) die( 'Direct Access to '.basename(__FILE__).' is not allowed.' ); ?>
<?php
[color=#FF4000]echo $vendor_store_desc."";[/color]
[color=#FF4000]echo "<h4>" .$VM_LANG->_('PHPSHOP_CATEGORIES')."</h4>";[/color]
[color=#FF8000]echo $categories; ?>[/color]
<div class="vmRecent">
<?php echo $recent_products; ?>
</div>
<?php
// Show Featured Products
if( $this->get_cfg( 'showFeatured', 1 )) {
/* featuredproducts(random, no_of_products,category_based) no_of_products 0 = all else numeric amount
edit featuredproduct.tpl.php to edit layout */
echo $ps_product->featuredProducts(true,10,false);
}
// Show Latest Products
if( $this->get_cfg( 'showlatest', 1 )) {
/* latestproducts(random, no_of_products,month_based,category_based) no_of_products 0 = all else numeric amount
edit latestproduct.tpl.php to edit layout */
ps_product::latestProducts(true,10,false,false);
}
?>