|
|
@ -127,4 +127,76 @@
|
|
|
|
<td class="DataTD"><?=$drow['points']?></td>
|
|
|
|
<td class="DataTD"><?=$drow['points']?></td>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
<br>
|
|
|
|
|
|
|
|
<table align="center" valign="middle" border="0" cellspacing="0" cellpadding="0" class="wrapper">
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
|
|
|
|
<td colspan="5" class="title"><?=_("Your Assurance Points")?></td>
|
|
|
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
|
|
|
|
<td class="DataTD"><b><?=_("Date")?></b></td>
|
|
|
|
|
|
|
|
<td class="DataTD"><b><?=_("Who")?></b></td>
|
|
|
|
|
|
|
|
<td class="DataTD"><b><?=_("Points")?></b></td>
|
|
|
|
|
|
|
|
<td class="DataTD"><b><?=_("Location")?></b></td>
|
|
|
|
|
|
|
|
<td class="DataTD"><b><?=_("Method")?></b></td>
|
|
|
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<?
|
|
|
|
|
|
|
|
$query = "select * from `notary` where `to`='".$row['id']."'";
|
|
|
|
|
|
|
|
$dres = mysql_query($query);
|
|
|
|
|
|
|
|
$points = 0;
|
|
|
|
|
|
|
|
while($drow = mysql_fetch_assoc($dres))
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
$fromuser = mysql_fetch_assoc(mysql_query("select * from `users` where `id`='".$drow['from']."'"));
|
|
|
|
|
|
|
|
$points += $drow['points'];
|
|
|
|
|
|
|
|
?>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
|
|
|
|
<td class="DataTD"><?=$drow['date']?></td>
|
|
|
|
|
|
|
|
<td class="DataTD"><a href="wot.php?id=9&userid=<?=$drow['from']?>"><?=$fromuser['fname']." ".$fromuser['lname']?></td>
|
|
|
|
|
|
|
|
<td class="DataTD"><?=$drow['points']?></td>
|
|
|
|
|
|
|
|
<td class="DataTD"><?=$drow['location']?></td>
|
|
|
|
|
|
|
|
<td class="DataTD"><?=$drow['method']?></td>
|
|
|
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<? } ?>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
|
|
|
|
<td class="DataTD" colspan="2"><b><?=_("Total Points")?>:</b></td>
|
|
|
|
|
|
|
|
<td class="DataTD"><?=$points?></td>
|
|
|
|
|
|
|
|
<td class="DataTD" colspan="2"> </td>
|
|
|
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
<br>
|
|
|
|
|
|
|
|
<table align="center" valign="middle" border="0" cellspacing="0" cellpadding="0" class="wrapper">
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
|
|
|
|
<td colspan="5" class="title"><?=_("Assurance Points You Issued")?></td>
|
|
|
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
|
|
|
|
<td class="DataTD"><b><?=_("Date")?></b></td>
|
|
|
|
|
|
|
|
<td class="DataTD"><b><?=_("Who")?></b></td>
|
|
|
|
|
|
|
|
<td class="DataTD"><b><?=_("Points")?></b></td>
|
|
|
|
|
|
|
|
<td class="DataTD"><b><?=_("Location")?></b></td>
|
|
|
|
|
|
|
|
<td class="DataTD"><b><?=_("Method")?></b></td>
|
|
|
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<?
|
|
|
|
|
|
|
|
$query = "select * from `notary` where `from`='".$row['id']."' and `to`!='".$row['id']."'";
|
|
|
|
|
|
|
|
$dres = mysql_query($query);
|
|
|
|
|
|
|
|
$points = 0;
|
|
|
|
|
|
|
|
while($drow = mysql_fetch_assoc($dres))
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
$fromuser = mysql_fetch_assoc(mysql_query("select * from `users` where `id`='".$drow['to']."'"));
|
|
|
|
|
|
|
|
$points += $drow['points'];
|
|
|
|
|
|
|
|
?>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
|
|
|
|
<td class="DataTD"><?=$drow['date']?></td>
|
|
|
|
|
|
|
|
<td class="DataTD"><a href="wot.php?id=9&userid=<?=$drow['to']?>"><?=$fromuser['fname']." ".$fromuser['lname']?></td>
|
|
|
|
|
|
|
|
<td class="DataTD"><?=$drow['points']?></td>
|
|
|
|
|
|
|
|
<td class="DataTD"><?=$drow['location']?></td>
|
|
|
|
|
|
|
|
<td class="DataTD"><?=$drow['method']?></td>
|
|
|
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<? } ?>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
|
|
|
|
<td class="DataTD" colspan="2"><b><?=_("Total Points")?>:</b></td>
|
|
|
|
|
|
|
|
<td class="DataTD"><?=$points?></td>
|
|
|
|
|
|
|
|
<td class="DataTD" colspan="2"> </td>
|
|
|
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
<br><br>
|
|
|
|
<? } } ?>
|
|
|
|
<? } } ?>
|
|
|
|
|
|
|
|
|
|
|
|