?
Path : /home/admin/domains/happytokorea.com/public_html/backend/modules/content/ |
Current File : /home/admin/domains/happytokorea.com/public_html/backend/modules/content/com_new_group.php |
<? session_start(); require_once('../../../config.php'); require_once('../../../libs/MySql.php'); $db=new MySql; if($_GET['parent']){ if ($_SESSION["la"] == 1){ $data2=$db->getDataOneRow('content_cat',$_GET['parent'],'CatID'); }else{ $data2=$db->getDataOneRow('content_cat_en',$_GET['parent'],'CatID'); } $parent_name=$data2['CatName']; }else{ $parent_name="หมวดหมู่หลัก"; } ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <HEAD> <TITLE><?echo $cfg['site_name'];?></TITLE> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <META content="" name=Keywords> <META content="<?echo $cfg['site_name'];?>" name="Description"> <META content="<?echo $cfg['site_name'];?>" name="Author"> <META content="<?echo $cfg['site_name'];?>" name="Copyright"> <link href="../../css/main.css" rel="stylesheet" type="text/css" /> <br> <form method="post" action="add_group_do.php"> <input type="hidden" name="parent" value="<?=$_GET['parent'];?>"> <input type="hidden" name="WebID" value="<?=$_GET['WebID'];?>"> <table width="500" height="300"> <tr> <td width="127" height="24">กลุ่มหลัก</td> <td width="266" height="24"><?=$parent_name;?> </td> </tr> <tr> <td width="127" height="24">ชื่อหมวดหมู่</td> <td width="266" height="18"><input type="text" name="CatName" size="55" maxlength="150" class="backend_inputbox" value="<?=$cat_name?>" ></td> </tr> <tr> <td width="127" height="33"> </td> <td width="266" height="33"> <input type="submit" value=" บันทึก " name="submit"> </td> </tr> <tr> <td width="127" height="13"></td> <td width="266" height="13"> </td> </tr> </table> </form>