| Server IP : 208.122.213.31 / Your IP : 216.73.216.185 Web Server : Apache System : Linux msd6191.mjhst.com 4.18.0-553.137.1.el8_10.x86_64 #1 SMP Wed Jun 24 11:40:24 UTC 2026 x86_64 User : WHMCS_MIA_382 ( 1001) PHP Version : 7.4.33 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/httpd/html/glamourdollars.com/vip-area/members/ |
Upload File : |
<?php
include('config.php');
dbConn();
$nav_menu = 6;
/*
content_type // SECTION
------------
0=model
1=photographer
2=photoset
3=blog
*/
if (isset($_POST['post'])) {
$display_name = addslashes($_POST['display_name']);
$birthday = $_POST['byear']."-".$_POST['bmonth']."-".$_POST['bday'];
$check_dn = @mysql_query("SELECT member_id FROM cms_members WHERE display_name = '".$display_name."' AND member_id != '".$member_id."'");
$check_dn_num = @mysql_num_rows($check_dn);
if ($check_dn_num > 0 ) {
$message = "That display name is already in use!<br / >";
}
if (!isset($message)) {
$message = "information saved.";
$sql = @mysql_query("UPDATE cms_members SET display_name='$display_name', birthday='$birthday' WHERE member_id = '".$member_id."'");
}
}
include('mod_html_top.php');
include('mod_rcol_vipdelight.php');
include('mod_rcol_coming.php');
include('mod_rcol_browse.php');
include('mod_rcol_vipnetwork.php');
include('mod_rcol_search.php');
include('mod_rcol_topmodels.php');
include('mod_rcol_topphotos.php');
include('mod_rcol_topvideos.php');
include('mod_rcol_random.php');
include('mod_rcol_conversation.php');
include('mod_rcol_feedback.php');
include('mod_html_middle.php');
$result = @mysql_query("SELECT * FROM cms_members WHERE member_id = '".$member_id."'");
while ($row = mysql_fetch_array($result)) {
if (!isset($_POST['post'])) {
$bd = explode("-", $row['birthday']);
$display_name = stripslashes($row['display_name']);
} else {
$bd = explode("-", $birthday);
}
?>
<img src="images/section_mystuff.jpg" width="360" height="54" /><br />
<?
include('mod_rcol_mystuff.php');
if (isset($message)) {
echo "<div align=\"center\">".$message."</div><br /><br />";
}
?>
<form action="mystuff_info.php" method="POST" name="info" id="info">
<table border="0" align="center" cellpadding="5" cellspacing="0">
<tr>
<td><div align="right"><strong>display name(screen name)</strong></div></td>
<td><input name="display_name" type="text" value="<?=$display_name?>" maxlength="100"/></td>
</tr>
<tr>
<td><div align="right"><strong>birthday</strong></div></td>
<td><select name="bmonth">
<?
for ($i=1;$i<13;$i++) {
if ($i == $bd[1]) {
echo "<option selected=\"selected\" value=\"".$i."\">".date("F", mktime(0, 0, 0, $i, 1, 2008))."</option>";
} else {
echo "<option value=\"".$i."\">".date("F", mktime(0, 0, 0, $i, 1, 2008))."</option>";
}
}
?>
</select>
<select name="bday">
<?
for ($i=1;$i<32;$i++) {
if ($i == $bd[2]) {
echo "<option selected=\"selected\">".$i."</option>";
} else {
echo "<option>".$i."</option>";
}
}
?>
</select>
<select name="byear">
<?
$eightteen = date("Y")-18;
for ($i=$eightteen;$i>1940;$i--) {
if ($i == $bd[0]) {
echo "<option selected=\"selected\">".$i."</option>";
} else {
echo "<option>".$i."</option>";
}
}
?>
</select></td>
</tr>
<tr>
<td colspan="2"><div align="center"><br />
<br />
<input type="submit" value=" save " name="post">
</div></td>
</tr>
</table>
</form>
<?
}
include('mod_html_bottom.php');
?>