(W*H: 444*333)', ' Photo Small Top
(W*H: 160*120)', ' Photo Small Middle
(W*H: 160*120)', ' Photo Small Bottom
(W*H: 160*120)' ); $col_name=array( "-----", 'Photo Large', 'Photo Small Top', 'Photo Small Middle', 'Photo Small Bottom' ); //initial if (empty($id)) { $id = ""; $temp_id = md5(uniqid(time())); } if (empty($page)) { $page = "1"; } //Load data if ($id != "") { $sql = "SELECT * FROM `".$page_tbname."` WHERE `id` = '$id'"; $row = $db->getrow($sql); foreach($row as $_key=>$_item){ ${$_key} = $_item; } if ($display == 1) { $displayd = 'checked'; $displayh = ''; } else { $displayd = ''; $displayh = 'checked'; } if ($displayhot == 1) { $displayhotd = 'checked'; $displayhoth = ''; } else { $displayhotd = ''; $displayhoth = 'checked'; } if ($displayhot1 == 1) { $displayhotd1 = 'checked'; $displayhoth1 = ''; } else { $displayhotd1 = ''; $displayhoth1 = 'checked'; } if ($displayhot2 == 1) { $displayhotd2 = 'checked'; $displayhoth2 = ''; } else { $displayhotd2 = ''; $displayhoth2 = 'checked'; } } else { $displayh = ''; $displayd = 'checked'; $displayhoth = 'checked'; $displayhotd = ''; $displayhoth1 = 'checked'; $displayhotd2 = ''; $displayhoth2 = 'checked'; $displayhotd2 = ''; } $category_list = ""; $sql = "SELECT id, en_name, sc_name FROM `levelone` WHERE 1 "; $rs = $db->query($sql); while($row = $db->fetch_array($rs)) { $category_list .= ' '; } mysql_free_result($result); } $files_content = ""; //upload file for ($i=1;$i<=$num_of_files;$i++) { if ($id != "") { $sql = "SELECT * FROM `attachment` WHERE `table_name` = '".$page_tbname."' AND `table_id` = '".$id."' AND `col_name` = '".$col_name[$i]."'"; $rs = $db->query($sql); if (mysql_num_rows($rs) > 0) { $rowfile = $db->fetch_array($rs); ${"file".$i} = 'File name: '.$rowfile["real_name"].' Delete
Preview: 
'; } } $files_content .= ' '.$attachment_text[$i].' '; if ($id != "") { $files_content .= ${"file".$i}; } $files_content .= ' '; } ?> <?=$contact_name?> - Back-end
> >
';?>

Common
 Sorting  *The sorting is ordered by ascending.
 Display > Show      > Hidden
 Hot
Index
> Show
> Hidden
Category
> Show
> Hidden
Sub-Category
> Show
> Hidden

Products
 Category  Sub-Category #Select Category then Sub-Category
 Qty(Size XS)  Color : (Size XS)
use (,) to split. e.g. yellow,red
 Qty(Size S)  Color : (Size S)
use (,) to split. e.g. yellow,red
 Qty(Size M)  Color : (Size M)
use (,) to split. e.g. yellow,red
 Qty(Size L)  Color : (Size L)
use (,) to split. e.g. yellow,red
 Qty(Size XL)  Color : (Size XL)
use (,) to split. e.g. yellow,red
 Code
 Name
 Description
 Name (chinese)
 Description (chinese)
 Price1 (RMB)
 Price2 (HK)
 Price3 (US)