Viewing file: umAddMenuTopic.php (2.43 KB) -rwxr-xr-x Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<? include_once("pagebody.php"); pageHeader(); $pageTitle="ЎУЛ№ґаБ№ЩГРєє§Т№"; // $StID"; ?> <table width=100% class="pageTitleBgColor" align="center"> <tr><td align=center><? echo $pageTitle; ?></td></tr> </table> <!--your code here--------------------------------------------------------------------------> <br> <? include_once("clsUmSystem.php"); include_once("clsUmMenu.php"); $oC = new clsConnection($GLOBALS['HOST'], $GLOBALS['DB'], $GLOBALS['USER'], $GLOBALS['PASSWORD']); $oSt = new umSystem($oC); $oSt->SearchByKey($StID); $oSt->GetRecord(); $StName = $oSt->StNameT; $oSt->Close(); ?> <form name="form1" method=post action="processUmMenu.php"> <table border="0" align="center" cellspacing="1" class="TableBodyBgColor"> <tr class="TableHeaderBgColor"> <th colspan="2"><?=$StName;?></th> </tr> <tr class="TableRowBgColor"> <td> </td> <td> <input type="hidden" name="method" value="add"> <input type="hidden" name="MnStID" value="<?=$StID;?>"> <input type="hidden" name="MnSeq" value=""> <input type="hidden" name="MnParentMnID" value="0"> <input type="hidden" name="MnType" value="M"> <input type="hidden" name="MnURL" value=""> <input type="hidden" name="MnIcon" value=""> </td> </tr> <tr class="TableRowBgColor"> <td>ЛСЗўйНаБ№Щ(·)</td> <td><input type="text" name="MnNameT" size="40"></td> </tr> <tr class="TableRowBgColor"> <td>ЛСЗўйНаБ№Щ(E)</td> <td><input type="text" name="MnNameE" size="40"></td> </tr> <tr class="TableRowBgColor"> <td>¤УНёФєТВ</td> <td><textarea name="MnDesc" rows="3" cols=40></textarea></td> </tr> <tr class="TableRowBgColor"> <td> </td> <td> </td> </tr> <tr class="TableFooterBgColor"> <td> </td> <td><input type="button" value="єС№·ЦЎ" onclick="doValidate(document.form1);"></td> </tr> </table> </form> <br> <!---------------------------------------------------------------------> <?
pageFooter(); ?> <!---------------------------------------------------------------------> <!--put javascript here--> <script language="javascript"> function doValidate(f){ if (IsEmpty(f.MnNameT, "ЎГШіТ»йН№ ЛСЗўйНаБ№Щ(·)")) return 0; if (IsEmpty(f.MnNameE, "ЎГШіТ»йН№ ЛСЗўйНаБ№Щ(E)")) return 0; // if (IsEmpty(f.StAbbrT, "ЎГШіТ»йН№ ЄЧиНВиНГРєє ·")) return 0; // if (IsEmpty(f.StAbbrE, "ЎГШіТ»йН№ ЄЧиНВиНГРєє Н")) return 0; // if (IsEmpty(f.StDesc, "ЎГШіТ»йН№ ¤УНёФєТВ")) return 0; // if (IsEmpty(f.StURL, "ЎГШіТ»йН№ URL Л№йТбГЎ")) return 0; f.submit(); } //document.form1.login.focus(); </script>
|