?
Path : /home/admin/domains/happytokorea.com/public_html_bk/gall/admin/ |
Current File : /home/admin/domains/happytokorea.com/public_html_bk/gall/admin/editseo.php |
<? include("header.php");?> <div id="top-panel"> <div id="panel"> <ul> <li><a href="site.php" class="report">Site</a></li> <li><a href="pay.php" class="report">Payment</a></li> <li><a href="promotion.php" class="report">Promotion</a></li> </ul> </div> </div> <? if(isset($_POST[page])){ $page= $_POST[page]; unset($_POST[page]); $_POST[seo_data] = implode(",",$_POST[seo_data]); $db->update_array("seo",$_POST,"seo_page = '".$page."'"); } ?> <div id="content"> <div id="box" align="left"> <h3 id="adduser">SEO Tag</h3> <form id="form" action="" method="post" name="" > <input name="page" type="hidden" value="<? echo $_GET[page]?>" /> <fieldset id="personal"> <? $page = $db->queryUniqueObject("select seo_data from seo where seo_page = '".$_GET[page]."'");?> <legend><? echo $_GET[page];?> Page</legend> <? $tag = explode(",", $page->seo_data);?> <label for="">Title Tag : </label> <input type="text" name="seo_data[]" size="80" value="<? echo $tag[0];?>" > <br /> <label for="">Keyword Tag : </label> <input type="text" name="seo_data[]" size="80" value="<? echo $tag[1];?>" > <br /> <label for="">Description Tag : </label> <input type="text" name="seo_data[]" size="80" value="<? echo $tag[2];?>" > <br /> </fieldset> <br /> <div align="center"> <input id="button1" type="submit" value="Edit" /> <input id="button2" type="reset" /> </div> </form> </div> <? include("footer.php");?>