summaryrefslogtreecommitdiff
path: root/security/phpdeadlock/files/patch-deadlock_admin_userinfo.php
blob: 801c14a2d3efdcaf1a89fac704a35becc1c7f3f5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
--- ./deadlock/admin/userinfo.php.orig	Mon Jul 31 01:58:55 2006
+++ deadlock/admin/userinfo.php	Thu Oct 11 15:23:49 2007
@@ -127,53 +127,53 @@
       <table width="70%" border="0">
       <tr>
         <td width="31%" class="style5">Full Name:</td>
-        <td width="69%" class="style2"><?=$name?></td>
+        <td width="69%" class="style2"><?php echo $name?></td>
       </tr>
       <tr>
         <td class="style5">Username:</td>
-        <td class="style2"><?=$username?></td>
+        <td class="style2"><?php echo $username?></td>
       </tr>
       <tr>
         <td class="style5">Email Address: </td>
-        <td class="style2"><? if($status=='2'): ?><a href="./bulkemail.php?user=<?=$username?>"><?=$email?></a><? else: print $email; endif; ?></td>
+        <td class="style2"><?php if($status=='2'): ?><a href="./bulkemail.php?user=<?php echo $username?>"><?php echo $email?></a><?php else: print $email; endif; ?></td>
       </tr>
       <tr>
         <td class="style5">Country:</td>
-        <td class="style2"><?=$country?></td>
+        <td class="style2"><?php echo $country?></td>
       </tr>
       <tr>
         <td class="style5">Phone:</td>
-        <td class="style2"><?=FormatPhoneNumber($phone)?></td>
+        <td class="style2"><?php echo FormatPhoneNumber($phone)?></td>
       </tr>
       <tr>
         <td class="style5">Date Registered:</td>
-        <td class="style2"><?=$RegistrationDate?></td>
+        <td class="style2"><?php echo $RegistrationDate?></td>
       </tr>
       <tr>
         <td class="style5">Status:</td>
-        <td class="style2"><?=$statustext?></td>
+        <td class="style2"><?php echo $statustext?></td>
       </tr>
     </table>
       <br />
-      <? if($status=='1'): ?>
-      <input name="Button" type="button" value="Accept" onclick="acceptuser('<?=$username?>')" />
-      <input name="Button" type="button" value="Decline" onclick="denyuser('<?=$username?>')" />
-      <? else: ?>
-      <input name="Button" type="button" value="Delete" onclick="deleteuser('<?=$username?>')" />
-      <input type="submit" value="Edit" onclick="window.location='./edituser.php?user=<?=$username?>'" />
-      <? endif; ?>
+      <?php if($status=='1'): ?>
+      <input name="Button" type="button" value="Accept" onclick="acceptuser('<?php echo $username?>')" />
+      <input name="Button" type="button" value="Decline" onclick="denyuser('<?php echo $username?>')" />
+      <?php else: ?>
+      <input name="Button" type="button" value="Delete" onclick="deleteuser('<?php echo $username?>')" />
+      <input type="submit" value="Edit" onclick="window.location='./edituser.php?user=<?php echo $username?>'" />
+      <?php endif; ?>
       <br />
 
   <span class="style2"><br />
       <br /><a href="./userlist.php">&lt;&lt; Back to user list</a><br/><br/><br/></span></td>
   </tr>
   <tr>
-    <td height="21" colspan="2" class="footercell"><div align="center"><?show_footer($software_signature)?></div></td>
+    <td height="21" colspan="2" class="footercell"><div align="center"><?phpshow_footer($software_signature)?></div></td>
   </tr>
 </table>
 </body>
 </html>
-<? else: ?>
+<?php else: ?>
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head>
@@ -211,9 +211,9 @@
   </tr>
   
   <tr>
-    <td height="21" colspan="2" class="footercell"><div align="center"><?show_footer($software_signature)?></div></td>
+    <td height="21" colspan="2" class="footercell"><div align="center"><?phpshow_footer($software_signature)?></div></td>
   </tr>
 </table>
 </body>
 </html>
-<? endif; ?>
\ No newline at end of file
+<?php endif; ?>
\ No newline at end of file