| Server IP : 210.245.233.93 / Your IP : 216.73.216.226 Web Server : Apache/2.2.15 (CentOS) System : Linux webserver2.onesolution.com.hk 2.6.32-754.35.1.el6.x86_64 #1 SMP Sat Nov 7 12:42:14 UTC 2020 x86_64 User : apache ( 48) PHP Version : 5.3.3 Disable Function : exec, shell_exec, system, passthru, popen, proc_open, pcntl_exec MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/hkosl.com/onegolf/webadmin/ |
Upload File : |
<?php
require_once('check_login.php');
$id = (int)$_GET["id"];
$row = get_player($id);
$sql99 = "SELECT * FROM sys_cms_login WHERE cmsloginid=?";
$parameters99 = array((int)$row{'lastupby'});
$row99 = bind_pdo($sql99, $parameters99, "selectone");
?>
<!DOCTYPE html>
<html>
<head>
<?php require_once('html_head.php'); ?>
</head>
<body>
<form action="player_modify.php" method="post" name="modifyform" enctype="multipart/form-data">
<input type="hidden" name="id" value="<?= $row{'id'}; ?>">
<table width="1000" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="70" align="right" valign="middle" class="icontxt">
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="50" align="center" style="font-size: 12px;">
<input type="image" alt="submit" src="images/iconSave.png" width="32" height="32" border="0"><br>
Save </a></td>
<td width="50" align="center">
<a href="player_index.php?msg=4"><img src="images/iconCancel.png" alt="Cancel" width="32" height="32" border="0"><br>
Cancel </a></td>
<td> </td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<span style="float:left;" class="pagetitletxt">
<b><img src="images/iconList.jpg" width="48" height="48" align="absmiddle"/> Modify
Player </b></span><span style="float:right;" class="msg">Last
Update: <?= $row99{'cmsusername'} . ' ' . $row{'lastupdate'}; ?></span>
</td>
</tr>
<tr>
<td align="left" valign="middle"><!-- Content -->
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="120" align="right" valign="top" class='content required'>Name</td>
<td class='content' valign="top">: </td>
<td class='content'>
<input type="text" class="content" name="name" value="<?=$row["name"]?>" required="required" style="width: 390px;"/>
<br><br>
</td>
</tr>
<tr>
<td width="120" align="right" valign="top" class='content required'>Gender</td>
<td class='content' valign="top">: </td>
<td class='content'>
<input type="radio" class="content" name="gender" value="M" required="required" <?=$row["gender"] == "M" ? "checked" : ""; ?>/> Male
<input type="radio" class="content" name="gender" value="F" required="required" <?=$row["gender"] == "F" ? "checked" : ""; ?>/> Female
<br><br>
</td>
</tr>
<tr>
<td width="120" align="right" valign="top" class='content'>Tel</td>
<td class='content' valign="top">: </td>
<td class='content'>
<input type="text" class="content" name="tel" value="<?=$row["tel"]?>" style="width: 390px;"/>
<br><br>
</td>
</tr>
<tr>
<td width="120" align="right" valign="top" class='content'></td>
<td class='content' valign="top"></td>
<td class='content red'>
<br>
* Required Field
<br><br><br>
</td>
</tr>
</table>
</td>
</tr>
</table>
</form>
</body>
</html>