Viewing file: recordPerPage.php (4.52 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php include_once "template.php"; include_once "../class/clsTable.php"; include_once "../class/clsDepartment.php"; include_once "../class/clsPerson.php"; include_once "../link/function.php"; include_once "../link/keyThai.php"; include_once "getPrefix.php";
$oC = new clsConnection($GLOBALS['DBHOST'], $GLOBALS['DBNAME_EOFFICE'], $GLOBALS['DBUSER_EOFFICE'], $GLOBALS['DBPASS_EOFFICE']);
$oDP = new Department($oC); $oDP2 = new Department($oC); $oDP3 = new Department($oC); $oPS = new person($oC); ?> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=tis-620"> <link href="../source/style.css" rel="stylesheet" type="text/css"> </head> <body> <iframe id="changeDept" name="changeDept" src="" style="width:0px;height:0px;border:0"></iframe> <br> <table width=703 align="center"> <tr><td height="150"> <fieldset> <legend><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>"><a href="?mm=1">ЁСґЎТГГРєє</a> <img src="../picture/ico3.gif" width="10" height="10" border="0" align="absmiddle"><a href="sysConfig.php">µС駤иТ·СиЗд»</a> <img src="../picture/ico3.gif" width="10" height="10" border="0" align="absmiddle">ЎУЛ№ґЁУ№З№ГТВЎТГµиНЛ№йТ</font></legend> <form name="ff" METHOD="POST" action="recordPerPage.php"> <table width="90%" border="0" align="center" cellpadding="0" cellspacing="0"> <tr><td height="30" align="center"> <table border="0" width="100%"> <tr><td><strong><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_2"];?>"> <img src="../picture/search2.jpg" border="0" > ¤й№ЛТГТВЄЧиНєШ¤ЕТЎГ</font></strong></td></tr> <tr> <td height="30" align="left"><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_2"];?>"> ЄЧиН - №ТБКЎШЕ ::</font> <input type="text" name="name" id="name" value="<? echo $name; ?>"> <input type=submit value="¤й№ЛТ" align=center> </td> </tr> </table> </td></tr> <tr> <td align="center"><br> <? if($name!=""){ ?> <table width="80%" height="98" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#DADADA" style="border-collapse:collapse"> <tr bgcolor="<?php echo $GLOBALS['COLOR_BG_TD_15'];?>"> <td height="26" colspan="4" align="center" ><strong><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_2"];?>"> ГТВЄЧиНєШ¤ЕТЎГ</font></strong></td> </tr> <tr bgcolor="<?php echo $GLOBALS['COLOR_BG_TD_4'];?>"> <td height="26" width="82" align="center" ><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_2"];?>"><strong>ЕУґСє·Хи</strong></font></td> <td width="927" align="center"><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_2"];?>"><strong>ЄЧиН-№ТБКЎШЕ</strong></font></td> </tr> <?php
$oPS->SearchByNameOnWork($name); while($oPS->GetRecord()){ if(($i%2) == 0) echo "<tr>"; else echo "<tr bgcolor=\"".$GLOBALS['COLOR_BG_TABLE_8']."\">"; ?> <td width="82" align="center"><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>"><? echo ($i+1);?> </font></td> <td align="left" height="22"><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>"> <a href="editrecordPerPage.php?ps=<? echo $oPS->personId; ?>&name=<? echo $name; ?>"><? echo GetPrefix($oPS->prefixId).$oPS->fName." ".$oPS->lName; ?></a> </font></td> </tr> <? $i++; } if($i==0){ ?> <tr><td colspan="2" align="center" height="22"><font color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>" size="2">** дБиБХўйНБЩЕєШ¤ЕТЎГ **</font></td></tr> <? } ?> </table><? } ?></td></tr> </table> </form> </fieldset> <table width="704" border="0" align="center"> <tr> <td width="97"><font color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>" size="2"> <strong>ЛБТВаЛµШ : </strong> </font></td> <td width="597"><font color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>" size="2">¤ЕФЎ·ХиЄЧиНєШ¤ЕТЎГаБЧиНµйН§ЎТГЎУЛ№ґЁУ№З№ГТВЎТГµиНЛ№йТ</font></td> </tr> </table> <br><br> <br><br> <br><br> </td> </tr> </table> </body> </html> <script language="javascript"> function checkFormat2(){ window.alert("ЛБТВаЛµШ :: ЎТГ»ГСєв¤Г§КГйТ§Л№иЗВ§Т№КТГєГГіЁРа»ЕХиВ№б»Е§\nўйНБЩЕЛ№иЗВ§Т№ бЕРўйНБЩЕєШ¤ЕТЎГ јЩйГСєјФґЄНєГРєє\nµйН§µС駤иТЎТГгЄй§Т№ГРєєгЛБи"); var agree=confirm("¤ШіµйН§ЎТГ»ГСєв¤Г§КГйТ§Л№иЗВ§Т№КТГєГГігЄиЛГЧНдБи ?"); if (agree){ return true ; }else{ return false ; } } </script>
|