103 |
- |
1 |
<?php
|
|
|
2 |
echo showSectionHead($spTextPanel['My Profile']);
|
|
|
3 |
|
|
|
4 |
// if payment cancelled
|
|
|
5 |
if (!empty($_GET['cancel'])) {
|
|
|
6 |
showErrorMsg($spTextSubscription["Your transaction cancelled"], false);
|
|
|
7 |
}
|
|
|
8 |
|
|
|
9 |
// if payment error
|
|
|
10 |
if (!empty($_GET['failed'])) {
|
|
|
11 |
showErrorMsg($spTextSubscription['internal-error-payment'], false);
|
|
|
12 |
}
|
|
|
13 |
|
|
|
14 |
// if payment error
|
|
|
15 |
if (!empty($_GET['expired'])) {
|
|
|
16 |
showErrorMsg($spTextSubscription['account-expired'], false);
|
|
|
17 |
}
|
|
|
18 |
|
|
|
19 |
// if payment error
|
|
|
20 |
if (!empty($_GET['success'])) {
|
|
|
21 |
showSuccessMsg($spTextSubscription['transaction-success'], false);
|
|
|
22 |
}
|
|
|
23 |
|
|
|
24 |
if(!empty($msg)){ showSuccessMsg($msg, false);}
|
|
|
25 |
?>
|
|
|
26 |
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="list">
|
|
|
27 |
<tr class="listHead">
|
|
|
28 |
<td class="left" width='35%'><?php echo $spTextPanel['My Profile']?></td>
|
|
|
29 |
<td class="right"> </td>
|
|
|
30 |
</tr>
|
|
|
31 |
<tr class="blue_row">
|
|
|
32 |
<th class="td_left_col"><?php echo $spText['login']['First Name']?>:</th>
|
|
|
33 |
<td class="td_right_col">
|
|
|
34 |
<?php echo $userInfo['first_name'] . " " . $userInfo['last_name']; ?>
|
|
|
35 |
</td>
|
|
|
36 |
</tr>
|
|
|
37 |
<tr class="white_row">
|
|
|
38 |
<th class="td_left_col"><?php echo $spText['login']['User Type']?>:</th>
|
|
|
39 |
<td class="td_right_col"><?php echo $userTypeInfo['description']?></td>
|
|
|
40 |
</tr>
|
|
|
41 |
<tr class="blue_row">
|
|
|
42 |
<th class="td_left_col"><?php echo $spText['login']['Username']?>:</th>
|
|
|
43 |
<td class="td_right_col"><?php echo $userInfo['username']?></td>
|
|
|
44 |
</tr>
|
|
|
45 |
<tr class="white_row">
|
|
|
46 |
<th class="td_left_col"><?php echo $spText['login']['Email']?>:</th>
|
|
|
47 |
<td class="td_right_col"><?php echo $userInfo['email']; ?></td>
|
|
|
48 |
</tr>
|
|
|
49 |
<tr class="blue_row">
|
|
|
50 |
<th class="td_left_col"><?php echo $spTextSubscription['Keyword Limit']?>:</th>
|
|
|
51 |
<td class="td_right_col"><?php echo $userTypeInfo['keywordcount']; ?></td>
|
|
|
52 |
</tr>
|
|
|
53 |
<tr class="white_row">
|
|
|
54 |
<th class="td_left_col"><?php echo $spTextSubscription['Website Limit']?>:</th>
|
|
|
55 |
<td class="td_right_col"><?php echo $userTypeInfo['websitecount']; ?></td>
|
|
|
56 |
</tr>
|
|
|
57 |
<tr class="blue_row">
|
|
|
58 |
<th class="td_left_col"><?php echo $spTextUser['Expiry Date']?>:</th>
|
|
|
59 |
<td class="td_right_col"><?php echo empty($userInfo['expiry_date']) ? "" : date("d M Y", strtotime($userInfo['expiry_date'])); ?></td>
|
|
|
60 |
</tr>
|
|
|
61 |
<tr class="white_row">
|
|
|
62 |
<td class="tab_left_bot_noborder" style="text-align: right; padding: 12px;">
|
|
|
63 |
<?php if ($subscriptionActive && !isAdmin()) {?>
|
|
|
64 |
<a onclick="scriptDoLoad('users.php?sec=renew-profile', 'content', 'layout=ajax')" href="javascript:void(0);" class="actionbut">
|
|
|
65 |
<< <?php echo $spTextSubscription['Renew Subscription']; ?>
|
|
|
66 |
</a>
|
|
|
67 |
<?php }?>
|
|
|
68 |
</td>
|
|
|
69 |
<td class="tab_right_bot" style="text-align: left; padding: 12px;">
|
|
|
70 |
<a onclick="scriptDoLoad('users.php?sec=edit-profile', 'content', 'layout=ajax')" href="javascript:void(0);" class="actionbut">
|
|
|
71 |
<?php echo $spTextPanel['Edit My Profile']?> >>
|
|
|
72 |
</a>
|
|
|
73 |
</td>
|
|
|
74 |
</tr>
|
|
|
75 |
<tr class="listBot">
|
|
|
76 |
<td class="left" colspan="1"></td>
|
|
|
77 |
<td class="right"></td>
|
|
|
78 |
</tr>
|
|
|
79 |
</table>
|