house keeping
This commit is contained in:
parent
2a419f93a4
commit
7929eff532
1 changed files with 8 additions and 8 deletions
|
@ -24,25 +24,25 @@
|
|||
<td class="DataTD"><?=_("Address")?></td>
|
||||
|
||||
<?
|
||||
$query = "select * from `email` where `memid`='".$_SESSION[profile][id]."' and `deleted`=0";
|
||||
$query = "select * from `email` where `memid`='".$_SESSION['profile']['id']."' and `deleted`=0";
|
||||
$res = mysql_query($query);
|
||||
while($row = mysql_fetch_assoc($res))
|
||||
{
|
||||
if($row[hash] == "")
|
||||
if($row['hash'] == "")
|
||||
$verified = _("Verified");
|
||||
else
|
||||
$verified = _("Unverified");
|
||||
?>
|
||||
<tr>
|
||||
<td class="DataTD"><input type="radio" name="emailid" value="<?=$row[id]?>"
|
||||
<? if($row[email] == $_SESSION[profile][email]) echo " checked"; ?>></td>
|
||||
<td class="DataTD"><input type="radio" name="emailid" value="<?=$row['id']?>"
|
||||
<? if($row['email'] == $_SESSION['profile']['email']) echo " checked"; ?>></td>
|
||||
<td class="DataTD"><?=$verified?></td>
|
||||
<? if($row[email] == $_SESSION[profile][email]) { ?>
|
||||
<? if($row['email'] == $_SESSION['profile']['email']) { ?>
|
||||
<td class="DataTD"><?=_("N/A")?></td>
|
||||
<? } else { ?>
|
||||
<td class="DataTD"><input type="checkbox" name="delid[]" value="<?=$row[id]?>"></td>
|
||||
<? } else if($row['hash'] == "") { ?>
|
||||
<td class="DataTD"><input type="checkbox" name="delid[]" value="<?=$row['id']?>"></td>
|
||||
<? } ?>
|
||||
<td class="DataTD"><?=$row[email]?></td>
|
||||
<td class="DataTD"><?=$row['email']?></td>
|
||||
</tr>
|
||||
<? } ?>
|
||||
<tr>
|
||||
|
|
Loading…
Reference in a new issue