?
Path : /home/admin/domains/happytokorea.com/public_html/modules/content/ |
Current File : /home/admin/domains/happytokorea.com/public_html/modules/content/add_new_group.php |
<? require_once('../../../config.php'); require_once('../../../libs/MySql.php'); $db=new MySql; if($_GET['parent']){ $data2=$db->getDataOneRow('content_cat',$_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> <link href="../../css/main.css" rel="stylesheet" type="text/css" /> <link href="http://fonts.googleapis.com/css?family=Cuprum" rel="stylesheet" type="text/css" /> <script src="js/jquery-1.4.4.js" type="text/javascript"></script> <script type="text/javascript" src="../../js/spinner/jquery.mousewheel.js"></script> <script type="text/javascript" src="../../js/spinner/ui.spinner.js"></script> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script> <script type="text/javascript" src="../../js/fileManager/elfinder.min.js"></script> <script type="text/javascript" src="../../js/wysiwyg/jquery.wysiwyg.js"></script> <script type="text/javascript" src="../../js/wysiwyg/wysiwyg.image.js"></script> <script type="text/javascript" src="../../js/wysiwyg/wysiwyg.link.js"></script> <script type="text/javascript" src="../../js/wysiwyg/wysiwyg.table.js"></script> <script type="text/javascript" src="../../js/dataTables/jquery.dataTables.js"></script> <script type="text/javascript" src="../../js/dataTables/colResizable.min.js"></script> <script type="text/javascript" src="../../js/forms/forms.js"></script> <script type="text/javascript" src="../../js/forms/autogrowtextarea.js"></script> <script type="text/javascript" src="../../js/forms/autotab.js"></script> <script type="text/javascript" src="../../js/forms/jquery.validationEngine-en.js"></script> <script type="text/javascript" src="../..//forms/jquery.validationEngine.js"></script> <script type="text/javascript" src="../../js/colorPicker/colorpicker.js"></script> <script type="text/javascript" src="../../js/uploader/plupload.js"></script> <script type="text/javascript" src="../../js/uploader/plupload.html5.js"></script> <script type="text/javascript" src="../../js/uploader/plupload.html4.js"></script> <script type="text/javascript" src="../../js/uploader/jquery.plupload.queue.js"></script> <script type="text/javascript" src="../../js/ui/progress.js"></script> <script type="text/javascript" src="../../js/ui/jquery.jgrowl.js"></script> <script type="text/javascript" src="../../js/ui/jquery.tipsy.js"></script> <script type="text/javascript" src="../../js/ui/jquery.alerts.js"></script> <script type="text/javascript" src="../../js/jBreadCrumb.1.1.js"></script> <script type="text/javascript" src="../../js/cal.min.js"></script> <script type="text/javascript" src="../../js/jquery.collapsible.min.js"></script> <script type="text/javascript" src="../../js/jquery.ToTop.js"></script> <script type="text/javascript" src="../../js/jquery.listnav.js"></script> <script type="text/javascript" src="../../js/jquery.sourcerer.js"></script> <script type="text/javascript" src="../../js/custom.js"></script> </HEAD> <body> <div class="content"> <div class="title"><img style="padding:10px 0 0 15px; float:left;" src="../../images/icons/dark/create.png" alt="" /><h5>เพิ่มหมวดหมู่</h5></div> <form method="post" action="add_group_do.php" class="mainForm"> <fieldset> <div class="widget first"> <input type="hidden" name="parent" value="<?=$_GET['parent'];?>"> <input type="hidden" name="WebID" value="<?=$_GET['WebID'];?>"> <div class="rowElem"><label>กลุ่มหลัก</label><div class="formRight"><?=$parent_name;?></div><div class="fix"></div></div> <div class="rowElem"><label>ชื่อหมวดหมู่</label><div class="formRight"><input type="text" name="CatName" size="55" maxlength="150" class="backend_inputbox" value="<?=$cat_name?>" ></div><div class="fix"></div></div> <div class="rowElem"><label>กลุ่มหลัก</label><div class="formRight"><?=$parent_name;?></div><div class="fix"></div></div> <div class="rowElem"><label> </label><div class="formRight"><input type="submit" value="บันทึกบทความ" class="greyishBtn" /> <input type="reset" value="ยกเลิกบทความ" class="basicBtn" /></div><div class="fix"></div></div> </div> </fieldset> </form> </div> <div class="fix"></div> </div></body></html>