<?php
/*-------------------------------------------------------+
| PHP-Fusion Content Management System
| Copyright (c) 2002 - 2011 Nick Jones
| http://www.php-fu...
+--------------------------------------------------------+
| Filename: user_reputation_include.php
| Author: Commasy
| Web: http://
+--------------------------------------------------------+
| This program is released as free software under the
| Affero GPL license. You can redistribute it and/or
| modify it under the terms of this license which you
| can read by viewing the included agpl.txt or online
| at www.gnu.org/licen... Removal of this
| copyright header is strictly prohibited without
| written permission from the original author(s).
+--------------------------------------------------------
*/
if (!defined("IN_FUSION")) { die("Access Denied"); }
include INFUSIONS."reputation/infusion_db.php";

if ($profile_method == "input") {

} elseif ($profile_method == "display") {
echo "<tr>\n";
echo "<td width='1%' class='tbl1' style='white-space:nowrap'>".$locale['uf_reputation']."</td>\n";
$selecttype=$_POST['selecttype'];

echo "<td align='right' class='tbl1'><font color='green'><b>".(dbcount("(to_id)", "".DB_PREFIX."reputation", " to_id='".$user_data['user_id']."'"))."</b></font> ".$locale['uf_reputation_rep']."</td>\n";

echo "</tr>\n";
   
} elseif ($profile_method == "validate_insert") {

} elseif ($profile_method == "validate_update") {

}
?>