Viewing file: processCheckRunningPsId.php (3.47 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php extract ($_REQUEST); echo "<meta http-equiv='refresh' content='0; URL=editRunningDocConfirm.php'>"; /* include_once "template.php"; include_once "../link/function.php";
if($pwd==""){ session_unregister("Pass");
include_once "../class/clsPerson.php"; include_once "../class/clsSysConfig.php"; //include_once "connectums.php";
include_once "../class/clsUmuser.php";
$oCu = new clsConnection($GLOBALS['DBHOST'], $GLOBALS['DBNAME_UMS'], $GLOBALS['DBUSER_UMS'], $GLOBALS['DBPASS_UMS']); $oUm = new umuser($oCu); $oUm->SearchByUsPsCode($editRunningPsId); $oUm->GetRecord();
$oC = new clsConnection($GLOBALS['DBHOST'], $GLOBALS['DBNAME_EOFFICE'], $GLOBALS['DBUSER_EOFFICE'], $GLOBALS['DBPASS_EOFFICE']); $oPS = new person($oC); $oCc = new clsConnection($GLOBALS['DBHOST'], $GLOBALS['DBNAME_EOFFICE'], $GLOBALS['DBUSER_EOFFICE'], $GLOBALS['DBPASS_EOFFICE']); $oSys = new sysConfig($oCc);
//$oUm = new umuser($oCu);
$editRunningPsId = $oSys->SearchByeditRunningPsId(); $oPS->SearchByKey($editRunningPsId); $oPS->GetRecord();
?> <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="addrunningDoc" name="addrunningDoc" src="" style="width:$0px;height:0px;border:0"></iframe> <br> <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="?mm=1">бЎйдўўйНБЩЕ·РаєХВ№Л№С§КЧНЎГіХѕФаИЙ</a> <img src="../picture/ico3.gif" width="10" height="10" border="0" align="absmiddle">бЎйдўўйНБЩЕ·РаєХВ№Л№С§КЧНўН§Л№иЗВ§Т№ </font></legend><br> <table width="70%" border="0" align="center"> <form name="ff" method="post"> <tr> <td align="center" colspan="2" height="22"> <font color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>" size="2"> <? if($checkfalse=="1"){ echo "ГЛСКјиТ№дБи¶ЩЎµйН§"; }?> </font> </td> </tr> <tr> <td height="22" align="right"><strong> јЩйБХКФ·ёФмг№ЎТГбЎйдў·РаєХВ№Л№С§КЧН :: </strong> </td> <td align="left"> <? echo " ".GetPrefix($oPS->prefixId).$oPS->fName." ".$oPS->lName; ?></td> </tr> <tr> <td width="280" height="22" align="right"><strong>ГЛСКјиТ№ ::</strong></td> <td align="left"> <input name="pwd" type="password" size="15"></td> </tr> <tr> <td colspan="3"><div align="center"><br> <input type="submit" name="add" value="Е§ЄЧиНаўйТгЄй" onClick="return checkSubmitAll();"> <input type="reset" name="clear" value="а¤ЕХВГмўйНБЩЕ"> <input type="button" name="cancel" value="ВЎаЕФЎ" onClick="location.href = 'runningDoc.php'"> <input type="hidden" name="method" value="checkpwd"> <input type="hidden" name="UsPsCode" value="<? echo $oUm->UsPsCode; ?>"> </div></td> </tr> </form> </table> </fieldset> <script language="JavaScript"> function checkSubmitAll(){ if(document.ff.pwd.value == ""){ alert("ЎГШіТЎГНЎГЛСКјиТ№"); document.ff.pwd.focus(); return false; } } </script> <? }else{ //$oUs->SearchByLogin($username, $password); $oUs->SearchByLogin($username, $password); //if($oU->SearchByPsCodeAndPasswd($UsPsCode , $pwd)){ session_register("Pass"); $Pass=1; echo "<meta http-equiv='refresh' content='0; URL=editRunningDocConfirm.php'>"; }else{ echo "<meta http-equiv='refresh' content='0; URL=processCheckRunningPsId.php?checkfalse=1'>"; } } */?>
|