Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Display Confirm name fields/options
- ?>
- <script>
- function UpdateFirst() {}
- $('#twfirst').keyup(function() { $('#twfirstn').value( this.value);});
- }
- </script>
- <input type="hidden" name="confirm_name" value="true" />
- <table border="0" cellpadding="2" cellspacing="0" style="margin-top: 20px;">
- <tr>
- <td align="right" class="label" valign="top" style="font-size: 12px;color: #377CB0;">Your Real Name: <br /><span style="color: #5f5f5f;">(first/last required)</span></td>
- <td>
- <table border="0" cellpadding="0" cellspacing="0">
- <tr><td><input type="text" class="edenlogin2 edeninputshort" id="twfirst" name="first_name" size="25" value="<?php echo $fields["first_name"];?>" onkeyup="UpdateFirst();" style="width: 125px;" /> <input type="text" class="edenlogin2 edeninputshort" name="last_name" size="25" value="<?php echo $fields["last_name"];?>" style="width: 125px;"/></td></tr>
- </table>
- </td>
- </tr>
- </table>
- <?php
- }
- if($flags["require_email"])
- {
- //Display Email requirement field
- ?>
- <input type="hidden" name="require_email" value="true" />
- <table border="0" cellpadding="2" cellspacing="0" width="100%" style="margin-top: 20px;">
- <tr>
- <td align="right" class="label" style="font-size: 12px;color: #377CB0;">Email Address: <br /><span style="color: #5f5f5f;">(required)</span></td>
- <td>
- <input type="text" class="edenlogin2" name="email" size="25" style="float: left;" value="<?php echo $fields["email"];?>" />
- </td>
- </tr>
- </table>
- <?php
- }
- //based on the flags that are set, build a form to display to the user...
- if($flags["require_nickname"])
- {
- if(!$userinfo)
- getuserdetails($_SESSION["KT_id_edencouk"],$userinfo);
- ?>
- <input type="hidden" name="require_nickname" value="true" />
- <?php
- if($messagetitle!=""){
- echo "<div class=\"".$messageclass."\"><h2>".$messagetitle."</h2></div>";
- }
- if(!isset($_POST["use_name"]))$_POST["use_name"]="yes"; //set a default as use the specified name
- ?>
- <table style="margin-top: 10px;"><tr>
- <td align="right" valign="top" class="label" style="font-size: 12px !important; padding-top: 4px; font-weight: bold; color: #377CB0;">Display Name:<br /><span style="color: #5f5f5f;">(Shown with your post)</span> </td>
- <td>
- <table border="0" cellpadding="0" cellspacing="0">
- <tr height="25"><td align="left"><input type="radio" style="margin-right: 4px;" name="use_name" value="yes" <?php if($_POST["use_name"]=="yes"){echo "checked=\"checked\" ";}?>/>Use my Real Name: <label id="twfirstn"></label><?php echo $fields["first_name"]." ".$fields["last_name"];?></td></tr>
- <tr height="25"><td align="left"><input type="radio" style="margin-right: 4px;" name="use_name" value="no" <?php if($_POST["use_name"]=="no"){echo "checked=\"checked\" ";}?>/>Use a Nickname: <input type="text" name="nickname" value="<?php echo $fields["nickname"];?>" /></td></tr>
- </table>
- </td>
- </tr>
- </table>
- <?php
- }
- ?>
- <span style="font-size: 11px;"><br />You now be logged in using your Twitter account and the details you have entered above<br />will be stored for future reference.<br /></span>
- <div style="width: 100%; text-align: center;"><input type="submit" name="Continue" value="Post Comment" class="nebutton" style="float: none !important; margin-top: 10px; color: #3e7299 !important; display: inline-block; cursor: hand;"/></div>
- </form>
- </div></div><div class="social-bottom-m" style="float: left; width: 557px; height: 19px; background:url('/lukesb/images/social-login-box-bottom.jpg') bottom no-repeat; margin-left: -8px; "></div>
Add Comment
Please, Sign In to add comment