Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php $userInfo = $dreamCloud->userInfo($_SESSION['uid']);
- $first = $userInfo['firstname'];
- $last = $userInfo['lastname'];
- $age = $userInfo['age'];
- ?>
- <div id="settings">
- <div id="title">
- <h2>Settings</h2><p id="subtitle" class="clean">Edit your settings!</p>
- <? echo $_POST['age'];?>
- </div><!-- page title end-->
- <form id="settings" class="form" method="post" action="index.php?p=settings">
- <p id="firstname">
- <input id="firstname" type="text" name="firstname" placeholder="<?php echo $first; ?>" title="Change your firstname!<br/> <p class='current'>Current: <?php echo $first;?></p>" />
- </p>
- <p class="lastname">
- <input type="text" name="lastname" placeholder="<?php echo $last; ?>" title="Change your lastname!<br/> <p class='current'>Current: <?php echo $last;?></p>" />
- </p>
- <p class="password">
- <input type="text" name="password" placeholder="Password" title="Change your password!"/>
- <input type="text" name="cpassword" placeholder="Confirm password" title="Confirm your password!"/>
- </p>
- <p class="age">
- <input id="age" type="text" name="age" placeholder="Age" title="Type your age with numbers, example: 27.<br/> <p class='current'>Current: <?php echo $age;?></p>" />
- </p>
- <?php if($gender==0) echo'
- <input type="radio" name="gender" value="0" title="So you are a boy ?" checked /> Male
- <input type="radio" name="gender" value="1" title="So you are a girl ?" /> Female';
- else echo'
- <input type="radio" name="gender" value="1" title="So you are a girl ?"checked /> Female
- <input type="radio" name="gender" value="0" title="So you are a boy ?" /> Male';
- ?>
- <p class="submit">
- <input type="submit" name="submit" value="Save" />
- </p>
- </form>
- </div>
Add Comment
Please, Sign In to add comment