/> </span></td> <td align="left" valign="middle" class="smallfont"><?php echo METHERESUBMENU; ?> </td> <td align="left" valign="middle" class="smallfont"> </td> <td align="left" valign="middle" class="smallfont" style="padding-left:10px;"> </td> </tr> <tr> <td colspan="2" align="left" valign="middle" class="smallfont" style="padding-right:10px;"><?php echo comboContent($type_content); ?> </td> <td align="left" valign="middle" class="smallfont" style="padding-right:10px;"><?php echo comboImage($type_image); ?> <!-- <label> <select name="type_image" class="smallfont"> <option value="0">Image</option> <option value="1">1 Image</option> <option value="2">2 Image</option> </select> </label>--> </td> <td align="left" valign="middle" class="smallfont" style="padding-left:10px;"><?php echo MEIMAGE; ?> </td> </tr> <tr>
//LAY NOI DUNG THEO NGON NGU====================================================[[[[[[[[[[[[[KET THUC=]]]]]]]]] } // vong lạp THEO NGON NGU===================[[[[[[[[[[[[[[[[[[[[[[[[[[[======KET THUC=====]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]] //KIEM TRA CO CHO GAN LINK KO=========================== if ($defaulType['type_link'] == '1') { $showTypeLinkHtml = "\n<tr>\n<td width=\"15%\" class=\"smallfont\" align=\"right\">" . TTHEREARELINKS . "</td>\n<td width=\"1%\" class=\"smallfont\" align=\"center\"></td>\n<td width=\"83%\" class=\"smallfont\">\n<input value=\"" . $link . "\" type=\"text\" name=\"txtLink\" class=\"textbox\" size=\"40\">\t\t</td>\n</tr>\n\n"; } //KIEM TRA CO CHO GAN LINK KO=========================== //kiem tra co cho hien nut new khong================ //if($defaulType['type_new']=='1') { if ($_SESSION['loglevel'] == 'hoanghung120') { $showChkNew = $new > 0 ? "checked" : ""; $showNewHtml = "\n<tr>\n<td width=\"15%\" class=\"smallfont\" align=\"right\">" . TPRODUCTNEW . "</td>\n<td width=\"1%\" class=\"smallfont\" align=\"center\"></td>\n<td width=\"83%\" class=\"smallfont\">\n<input type=\"checkbox\" name=\"chkNew\" value=\"on\" " . $showChkNew . "/>\t\t</td>\n</tr>\n\n"; } //} //kiem tra co cho hien nut new khong================ket thuc //kiem tra co cho hien nut home khong================ $showChkHome = $home > 0 ? "checked" : ""; $showHomeHtml = "\n<tr>\n<td width=\"15%\" class=\"smallfont\" align=\"right\">" . TSHOWHOME . "</td>\n<td width=\"1%\" class=\"smallfont\" align=\"center\"></td>\n<td width=\"83%\" class=\"smallfont\">\n<input type=\"checkbox\" name=\"chkHome\" value=\"on\" " . $showChkHome . "/>\t\t</td>\n</tr>\n\n"; //kiem tra co cho hien nut home khong================ket thuc //kiem tra co cho hien nut post hinh khong================ //kiem tra co cho hien nut post hinh khong=================ket thuc //DANH MUC THUOC TINH CUA SAN PHAM==========================================================[[[[[[[[[[[[[[[[[[ $submenuShow = $submenu > 0 ? "checked" : ""; $typeShowChack = $type > 0 ? "checked" : ""; $type_commentShow = $type_comment > 0 ? "checked" : ""; $type_shareShow = $type_share > 0 ? "checked" : ""; $type_image_manyShow = $type_image_many > 0 ? "checked" : ""; $showTHUOCTINHMODULEHtml = "\n\n\n<tr>\n<td class=\"smallfont\" align=\"right\"> </td>\n<td class=\"smallfont\" align=\"center\"> </td>\n<td align=\"left\" valign=\"top\" class=\"smallfont\">\n\n<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n<tr>\n<td align=\"left\" valign=\"middle\" class=\"smallfont\"><span class=\"smallfont\" style=\"padding-right:10px;\">\n<input type=\"checkbox\" name=\"chkSubmenu\" value=\"on\" " . $submenuShow . " />\n</span></td>\n<td align=\"left\" valign=\"middle\" class=\"smallfont\">" . METHERESUBMENU . " </td>\n<td align=\"left\" valign=\"middle\" class=\"smallfont\"> </td>\n<td align=\"left\" valign=\"middle\" class=\"smallfont\" style=\"padding-left:10px;\"> </td>\n<td rowspan=\"9\" align=\"left\" valign=\"top\" class=\"smallfont\" style=\"padding-left:10px;\"> </td>\n</tr>\n\n<tr>\n<td colspan=\"2\" align=\"left\" valign=\"middle\" class=\"smallfont\" style=\"padding-right:10px;\">" . comboContent($type_content) . " </td>\n<td align=\"left\" valign=\"middle\" class=\"smallfont\" style=\"padding-right:10px;\">" . comboImage($type_image) . " </td>\n<td align=\"left\" valign=\"middle\" class=\"smallfont\" style=\"padding-left:10px;\">" . MEIMAGE . "</td>\n</tr>\n\n<tr>\n<td align=\"left\" valign=\"middle\" class=\"smallfont\"><span class=\"smallfont\" style=\"padding-right:10px;\">\n<input type=\"checkbox\" name=\"chkType\" value=\"on\" " . $typeShowChack . " />\n</span></td>\n<td align=\"left\" valign=\"middle\" class=\"smallfont\" style=\"padding-right:20px;\"><span class=\"smallfont\" style=\"padding-right:20px;\">" . METYPEMOREARTICLES . "</span></td>\n<td align=\"left\" valign=\"middle\" class=\"smallfont\"><input value=\"" . $image_width . "\" type=\"text\" name=\"txtImage_width\" class=\"textbox\" size=\"10\" />\n<input value=\"" . $image_height . "\" type=\"text\" name=\"txtImage_height\" class=\"textbox\" size=\"10\" /> </td>\n<td align=\"left\" valign=\"middle\" class=\"smallfont\" style=\"padding-left:10px;\">" . METHUMBNAILSIZE . "</td>\n</tr>\n\n<tr>\n<td align=\"left\" valign=\"middle\" class=\"smallfont\"><input type=\"checkbox\" name=\"chkType_comment\" value=\"on\" " . $type_commentShow . " /></td>\n<td align=\"left\" valign=\"middle\" class=\"smallfont\">" . METHEREARECOMMENT . "</td>\n<td align=\"left\" valign=\"middle\" class=\"smallfont\"><input value=\"" . $image_large_width . "\" type=\"text\" name=\"txtImage_large_width\" class=\"textbox\" size=\"10\" />\n<input value=\"" . $image_large_height . "\" type=\"text\" name=\"txtImage_large_height\" class=\"textbox\" size=\"10\" /></td>\n<td align=\"left\" valign=\"middle\" class=\"smallfont\" style=\"padding-left:10px;\">" . MESIZELARGE . "</td>\n</tr>\n\n<tr>\n<td align=\"left\" valign=\"middle\" class=\"smallfont\"><input type=\"checkbox\" name=\"chkType_share\" value=\"on\" " . $type_shareShow . " /></td>\n<td align=\"left\" valign=\"middle\" class=\"smallfont\">" . METHEREARESHARE . "</td>\n<td align=\"left\" valign=\"middle\" class=\"smallfont\"> </td>\n<td align=\"left\" valign=\"middle\" class=\"smallfont\" style=\"padding-left:10px;\"> </td>\n</tr>\n\n<tr>\n<td align=\"left\" valign=\"middle\" class=\"smallfont\"><input type=\"checkbox\" name=\"chkType_image_many\" value=\"on\" " . $type_image_manyShow . " /></td>\n<td align=\"left\" valign=\"middle\" class=\"smallfont\">" . CTHEREAREMANY . "</td>\n<td align=\"left\" valign=\"middle\" class=\"smallfont\"> </td>\n<td align=\"left\" valign=\"middle\" class=\"smallfont\" style=\"padding-left:10px;\"> </td>\n</tr>\n \n</table></td>\n</tr>\n\n\n\n"; //DANH MUC THUOC TINH CUA SAN PHAM==========================================================[[[[[[[[[[[[[[[[[[=====KET THUC==========]]]]]]]]]]] $processFrameShowHtml = "\n\n<script language=\"javascript\">\n\nfunction btnSave_onclick(){\n//KIEM TRA THEO NGON NGU===========================\n" . $processFrameShowHtmlChackJs . $abcdShowHtmlChackJs . "\n}\n</script>\n<script src=\"js/count.js\" type=\"text/javascript\" language=\"javascript\"></script>\n\n<script src=\"js/ajax_chack_code_jquery.js\" type=\"text/javascript\" language=\"javascript\"></script>\n<script language=\"javascript\">\n//<!---------------------------------+\n// Developed by Roshan Bhattarai \n// Visit http://roshanbh.com.np for this script and more.\n// This notice MUST stay intact for legal use\n// --------------------------------->\n\$(document).ready(function()\n{\n\t\$(\"#txtCode\").blur(function()\n\t{\n\t\t//remove all the class add the messagebox classes and start fading\n\t\t\$(\"#msgbox\").removeClass().addClass('messagebox').text('" . CCHECHING . "').fadeIn(\"slow\");\n\t\t//check the username exists or not from ajax\n\t\t\$.post(\"" . $moduleUrl . "/ajax_chack_code_category.php\",{ code:\$(this).val() } ,function(data)\n {\n\t\t if(data == 0) //if username not avaiable\n\t\t {\n\t\t \t\$(\"#msgbox\").fadeTo(200,0.1,function() //start fading the messagebox\n\t\t\t{ \n\t\t\t //add message and change the class of the box and start fading\n\t\t\t \$(this).html('" . CTHISCODEALREADY . "').addClass('messageboxerror').fadeTo(900,1);\n\t\t\t});\t\t\n }\n\t\t else\n\t\t {\n\t\t \t\$(\"#msgbox\").fadeTo(200,0.1,function() //start fading the messagebox\n\t\t\t{ \n\t\t\t //add message and change the class of the box and start fading\n\t\t\t \$(this).html('" . CTHISCODECANNOTUSE . "').addClass('messageboxok').fadeTo(900,1);\t\n\t\t\t});\n\t\t }\n\t\t\t\t\n });\n \n\t});\n});\n</script>\n\n<script type=\"text/javascript\">\nfunction validateName(ContentUrl,lang)\n{\n //document.getElementById(\"txtName_o_t\").value =tfld; \ndocument.getElementById(\"txtUrl\"+lang).value=ContentUrl;\n}\n</script>\n<script type=\"text/javascript\">\nfunction AjaxFunction(urlCode,lang)\n{\nvar httpxml;\ntry\n{\n// Firefox, Opera 8.0+, Safari\nhttpxml=new XMLHttpRequest();\n}\ncatch (e)\n{\n// Internet Explorer\ntry\n{\nhttpxml=new ActiveXObject(\"Msxml2.XMLHTTP\");\n}\ncatch (e)\n{\ntry\n{\nhttpxml=new ActiveXObject(\"Microsoft.XMLHTTP\");\n}\ncatch (e)\n{\nalert(\"Your browser does not support AJAX!\");\nreturn false;\n}\n}\n}\nfunction stateck() \n{\nif(httpxml.readyState==4)\n{\n\nif(httpxml.responseText==0){\ndocument.getElementById(\"msg\"+lang).innerHTML='" . ATHISURLCANNOTUSE . "';\n}else{\ndocument.getElementById(\"msg\"+lang).innerHTML='" . AYOUCANUSERTHISURL . "';\n}\n//document.getElementById(\"msg\"+lang).innerHTML=httpxml.responseText;\n}\n}\nvar url=\"url_chack_ajax.php\";\nurl=url+\"?urlCode=\"+urlCode+\"&lang=\"+lang+\"&act=" . $_REQUEST['act'] . "\";\nurl=url+\"&sid=\"+Math.random();\nhttpxml.onreadystatechange=stateck;\nhttpxml.open(\"GET\",url,true);\nhttpxml.send(null);\n}\n</script>\n\n\n<form method=\"post\" name=\"frmForm\" enctype=\"multipart/form-data\" action=\"./\">\n<input type=\"hidden\" name=\"codeParent\" value=\"" . $_REQUEST['codeParent'] . "\">\n<input type=\"hidden\" name=\"act\" value=\"menu_main_m\">\n<input type=\"hidden\" name=\"id\" value=\"" . $_REQUEST['id'] . "\">\n<input type=\"hidden\" name=\"page\" value=\"" . $_REQUEST['page'] . "\">\n<input type=\"hidden\" name=\"typec\" value=\"" . $_REQUEST['typec'] . "\">\n<input type=\"hidden\" name=\"lang\" value=\"" . $_lang_A . "\">\n<input type=\"hidden\" name=\"parent_1\" value=\"" . $parent_1 . "\">\t\n<input type=\"hidden\" name=\"parent\" value=\"" . $parent . "\">\t\n<input type=\"hidden\" name=\"txtCodeproduct\" value=\"" . $code_product . "\">\t\n<input type=\"hidden\" name=\"txtHotline\" value=\"" . $hotline . "\">\t\n<input type=\"hidden\" name=\"txtCode\" value=\"" . $code . "\">\t\n<input type=\"hidden\" name=\"txtCode_module\" value=\"" . $code_module . "\">\t\n\n<table border=\"1\" cellpadding=\"0\" cellspacing=\"0\" bordercolor=\"#0069A8\" width=\"100%\">\n<tr>\n<td>\n<table border=\"0\" cellpadding=\"2\" bordercolor=\"#111111\" width=\"100%\" cellspacing=\"0\">\n<tr><td height=\"10\"></td></tr>\n<tr>\n<td colspan=\"3\" align=\"center\">\n" . $showViewImageHtml . "\n</td>\n</tr> \n\n\n\n" . $processFrameShowHtmlConnert . "\n" . $showTypeLinkHtml . $showHtmlChkStatusALL . $showNewHtml . "\n\n" . $showFromABCDHtml . $showImageAllHtml . "\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\n<tr>\n<td width=\"15%\" class=\"smallfont\"></td>\n<td width=\"1%\" class=\"smallfont\" align=\"center\"></td>\n<td width=\"83%\" class=\"smallfont\"><input type=\"submit\" name=\"btnSave\" value=\"" . TUPDATE . "\" class=\"button\" onclick=\"return btnSave_onclick()\" />\n\n <input type=\"reset\" class=\"button\" value=\"" . TREENTER . "\">\t\t\t\t\t</td>\n</tr>\n</table>\n</td>\n</tr>\n</table>\n</form>\n<p align=center class=\"err\">" . $errMsg . "<br></p>\n";