MOON
Server: Apache/2.2.34 (Unix) mod_ssl/2.2.34 OpenSSL/0.9.8e-fips-rhel5 mod_bwlimited/1.4 FrontPage/5.0.2.2635
System: Linux server.asjudinet.com 2.6.32-042stab141.3 #1 SMP Fri Nov 15 22:45:34 MSK 2019 i686
User: asjudine (504)
PHP: 5.2.17
Disabled: NONE
Upload Files
File: /home/asjudine/www/admin/modules/contacts.php
<?php

if (!eregi("admin.php", $PHP_SELF)) { die ("Access Denied"); }
//$hlpfile = "manual/sections.html";
$result = sql_query("select radminency, radminsuper from $prefix"._authors." where aid='$aid'", $dbi);
list($radminency, $radminsuper) = sql_fetch_row($result, $dbi);
if ($radminsuper==1) {


/*********************************************************/
/* Contacts Manager Functions                            */
/*********************************************************/

function readcontacts() {
    global $module_name, $prefix, $dbi;

	include("header.php");


	echo "aca toy";
	$result = sql_query("select * from $prefix"._contacts." where 1 ORDER BY contact_id DESC limit 0,20", $dbi);
    	echo "<center><table border=\"1\" width=\"100%\" bgcolor=\"#ffffff\">";
    	while(list($contactmail, $contactuname, $contactmensaje) = sql_fetch_row($result, $dbi)) {

	echo "<tr><td align=\"right\"><b>$contactmail</b>"
	    ."</td><td align=\"left\" width=\"100%\">$contactuname"
	    ."</td><td align=\"center\">$contactmensaje"
    	echo " </td></tr></table></center><br>\n";
	}

include("footer.php");     
}

switch ($op) {

    case "readcontacts":
    readcontacts();
    break;

}

} else {
    echo "Access Denied";
}

?>