Guest User

Untitled

a guest
May 20th, 2018
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 3.72 KB | None | 0 0
  1.         //Display Confirm name fields/options
  2.             ?>
  3.             <script>
  4.             function UpdateFirst() {}
  5.                 $('#twfirst').keyup(function() { $('#twfirstn').value( this.value);});
  6.             }
  7.             </script>
  8.             <input type="hidden" name="confirm_name" value="true" />
  9.            
  10.                 <table border="0" cellpadding="2" cellspacing="0" style="margin-top: 20px;">
  11.                 <tr>
  12.                     <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>
  13.                     <td>
  14.                         <table border="0" cellpadding="0" cellspacing="0">
  15.                             <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>
  16.                         </table>
  17.                     </td>
  18.                 </tr>
  19.                 </table>
  20.            
  21.             <?php
  22.         }
  23.        
  24.         if($flags["require_email"])
  25.         {
  26.             //Display Email requirement field  
  27.             ?>
  28.             <input type="hidden" name="require_email" value="true" />
  29.            
  30.                 <table border="0" cellpadding="2" cellspacing="0" width="100%" style="margin-top: 20px;">
  31.                 <tr>
  32.                     <td align="right" class="label" style="font-size: 12px;color: #377CB0;">Email Address: <br /><span style="color: #5f5f5f;">(required)</span></td>
  33.                     <td>
  34.                         <input type="text" class="edenlogin2"  name="email" size="25" style="float: left;" value="<?php echo $fields["email"];?>" />
  35.                     </td>
  36.                 </tr>
  37.                 </table>
  38.            
  39.             <?php
  40.         }
  41.        
  42.        
  43.                 //based on the flags that are set, build a form to display to the user...
  44.         if($flags["require_nickname"])
  45.         {
  46.             if(!$userinfo)
  47.             getuserdetails($_SESSION["KT_id_edencouk"],$userinfo);
  48.             ?>
  49.             <input type="hidden" name="require_nickname" value="true" />
  50.            
  51.             <?php
  52.             if($messagetitle!=""){
  53.                 echo "<div class=\"".$messageclass."\"><h2>".$messagetitle."</h2></div>";
  54.             }
  55.            
  56.             if(!isset($_POST["use_name"]))$_POST["use_name"]="yes"; //set a default as use the specified name
  57.             ?>
  58.                 <table style="margin-top: 10px;"><tr>
  59.                     <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>
  60.                     <td>
  61.                         <table border="0" cellpadding="0" cellspacing="0">
  62.                             <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>
  63.                             <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>
  64.                         </table>
  65.                     </td>
  66.                 </tr>
  67.             </table>
  68.            
  69.             <?php
  70.         }
  71.        
  72.         ?>
  73.         <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>
  74.         <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>
  75.         </form>
  76.         </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