''){ $qry=mysql_query("select * from tbl_mainsection where MSecID='".$MSecID."' and lngid='".$LngID."'") or die("Invalid MSecID ".mysql_error()); if($qry){ $rows=mysql_num_rows($qry); if($rows>0){ $data=mysql_fetch_row($qry); $MSecName=$data[2]; } }else{ $MSecID=0; } mysql_free_result($qry); } if($SecID<>''){ $qry=mysql_query("select * from tbl_section where SecID='".$SecID."' and SecID='".$SecID."' and lngid='".$LngID."'") or die("Invalid SecID ".mysql_error()); if($qry){ $rows=mysql_num_rows($qry); if($rows>0){ $data=mysql_fetch_row($qry); $SecName=$data[3]; } }else{ $SecID=0; } mysql_free_result($qry); } if($MainID<>''){ $qry=mysql_query("select * from tbl_main where MainID='".$MainID."' and SecID='".$SecID."' and MSecID='".$MSecID."' and lngid='".$LngID."'") or die("Invalid MainID ".mysql_error()); if($qry){ $rows=mysql_num_rows($qry); if($rows>0){ $data=mysql_fetch_row($qry); $MainName=$data[4]; } }else{ $MainID=0; } mysql_free_result($qry); } if($SubID<>'' || $SubID>0){ $qry=mysql_query("select * from tbl_sub where SubID='".$SubID."' and MainID='".$MainID."' and SecID='".$SecID."' and MSecID='".$MSecID."' and lngid='".$LngID."'") or die("Invalid MSecID ".mysql_error()); if($qry){ $rows=mysql_num_rows($qry); if($rows>0){ $data=mysql_fetch_row($qry); $SubName=$data[5]; } }else{ $SubID=0; $SubName=""; } mysql_free_result($qry); }else{ $SubName=""; } ?>
 
Manage Products

This is the product section for your products. To add a new product click on the Add New Product. To set the product as a new product write y in the textbox below the New option and press enter it will set the product as new and to unset the product as new write n in the textbox below and press enter it will unset the product from the new products. To set ranking for the product enter number in the text box and press enter it will rearrange the products. In Action panel there are three icons the left one for edit , the center one for deletion and the right one for moving the product.
Back to main page Selected Language :
Add New Product
0){ ?>
Prod ID Product Name Featured ( y/n ) New ( y/n ) Rank Action