summaryrefslogtreecommitdiff
path: root/pages/wot
diff options
context:
space:
mode:
authorBenny Baumann <BenBE@geshi.org>2014-04-30 18:30:20 +0200
committerBenny Baumann <BenBE@geshi.org>2014-04-30 20:18:56 +0200
commit346899e832bd91f16733e197f592e7dae0173f70 (patch)
treeb106ac272adc4bb0740fdbb0ab33e684e4eea1fd /pages/wot
parent7f02d479140d2c47e9359191ed2a7d687c6b9a33 (diff)
downloadcacert-devel-346899e832bd91f16733e197f592e7dae0173f70.tar.gz
cacert-devel-346899e832bd91f16733e197f592e7dae0173f70.tar.xz
cacert-devel-346899e832bd91f16733e197f592e7dae0173f70.zip
bug 1138: Whitespace changes and code formatting
Diffstat (limited to 'pages/wot')
-rw-r--r--pages/wot/1.php16
-rw-r--r--pages/wot/9.php3
2 files changed, 9 insertions, 10 deletions
diff --git a/pages/wot/1.php b/pages/wot/1.php
index d6e298d..9047f27 100644
--- a/pages/wot/1.php
+++ b/pages/wot/1.php
@@ -14,9 +14,9 @@
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
-*/ ?>
-<?
- $res=mysql_fetch_assoc(mysql_query("select sum(acount) as summe from countries"));
+*/
+
+ $res=mysql_fetch_assoc(mysql_query("select sum(acount) as summe from countries"));
$total1 =$res['summe'];
$locid=array_key_exists('locid',$_REQUEST)?intval($_REQUEST['locid']):0;
@@ -104,19 +104,19 @@
<td class="title"><?=_("Contact Details")?></td>
<td class="title"><?=_("Email Assurer")?></td>
<td class="title"><?=_("Assurer Challenge")?></td>
-
</tr>
-<? while($row = mysql_fetch_assoc($list)) { ?>
+
+<? while($row = mysql_fetch_assoc($list)) { ?>
<tr>
<td class="DataTD" width="100"><nobr><?=sanitizeHTML($row['fname'])?> <?=substr($row['lname'], 0, 1)?>.</nobr></td>
<td class="DataTD"><?=maxpoints($row['id'])?></td>
<td class="DataTD"><?=sanitizeHTML($row['contactinfo'])?></td>
<td class="DataTD"><a href="wot.php?id=9&amp;userid=<?=intval($row['id'])?>"><?=_("Email Me")?></a></td>
<td class="DataTD"><?=$row['assurer']?_("Yes"):("<font color=\"#ff0000\">"._("Not yet!")."</font>")?></td>
-
</tr>
-<? }
- }
+<?
+ }
+ }
?>
</table>
<br>
diff --git a/pages/wot/9.php b/pages/wot/9.php
index e4fff21..a8b9413 100644
--- a/pages/wot/9.php
+++ b/pages/wot/9.php
@@ -29,8 +29,7 @@
$userlang = $user['language'];
$points = mysql_num_rows(mysql_query("select sum(`points`) as `total` from `notary`
where `to`='".intval($user['id'])."' and `deleted`=0 group by `to` HAVING SUM(`points`) > 0"));
- if($points <= 0)
- {
+ if($points <= 0) {
echo _("Sorry, I was unable to locate that user.");
} else {