403Webshell
Server IP : 172.64.80.1  /  Your IP : 216.73.216.175
Web Server : LiteSpeed
System : Linux srv13.swhc.ca 4.18.0-553.126.2.lve.el8.x86_64 #1 SMP Thu May 28 14:12:30 UTC 2026 x86_64
User : hongluck ( 2522)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/hongluck/public_html/old site/webcal/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/hongluck/public_html/old site/webcal/adminhome.php
<?php
/*
	$Id: adminhome.php,v 1.15 2005/01/19 13:54:13 cknudsen Exp $

	Page Description:
		Serves as the home page for administrative functions.
	Input Parameters:
		None
	Security:
		Users will see different options available on this page.
 */
include_once 'includes/init.php';

$COLUMNS = 3;

$style = "<style type=\"text/css\">
table.admin {
	padding: 5px;
	border: 1px solid #000000;
";
if ( function_exists ("imagepng") &&
  ( empty ($GLOBALS['enable_gradients']) || $GLOBALS['enable_gradients'] == 'Y' ) ) {
	$style .= "	background-image: url(\"gradient.php?height=300&base=ccc&percent=10\");\n";
} else {
	$style .= "	background-color: #CCCCCC;\n";
}
$style .= "
}
table.admin td {
	padding: 20px;
	text-align: center;
}
.admin td a {
	padding: 10px;
	width: 200px;
	text-align: center;
	background-color: #CCCCCC;
	border-top: 1px solid #EEEEEE;
	border-left: 1px solid #EEEEEE;
	border-bottom: 1px solid #777777;
	border-right: 1px solid #777777;
}
.admin td a:hover {
	padding: 10px;
	width: 200px;
	text-align: center;
	background-color: #AAAAAA;
	border-top: 1px solid #777777;
	border-left: 1px solid #777777;
	border-bottom: 1px solid #EEEEEE;
	border-right: 1px solid #EEEEEE;
}
</style>
";
print_header('', $style);

$names = array ();
$links = array ();

if ($is_admin) {
	$names[] = translate("System Settings");
	$links[] = "admin.php";
}

$names[] = translate("Preferences");
$links[] = "pref.php";

if ( $is_admin ) {
	$names[] = translate("Users");
	$links[] = "users.php";
} else {
	$names[] = translate("Account");
	$links[] = "users.php";
}

if ( $single_user != 'Y' ) {
	$names[] = translate("Assistants");
	$links[] = "assistant_edit.php";
}

if ( $categories_enabled == 'Y' ) {
	$names[] = translate("Categories");
	$links[] = "category.php";
}

$names[] = translate("Views");
$links[] = "views.php";

$names[] = translate("Layers");
$links[] = "layers.php";

if ( $reports_enabled == 'Y' ) {
	$names[] = translate("Reports");
	$links[] = "report.php";
}

if ( $is_admin ) {
	$names[] = translate("Delete Events");
	$links[] = "purge.php";

	$names[] = translate("Activity Log");
	$links[] = "activity_log.php";
}

if ( $is_admin && ! empty ($public_access) && $public_access == 'Y' ) {
	$names[] = translate("Public Preferences");
	$links[] = "pref.php?public=1";
}

if ( $is_admin && ! empty ( $public_access ) && $public_access == 'Y' &&
	$public_access_can_add == 'Y' && $public_access_add_needs_approval == 'Y' ) {
	$names[] = translate("Unapproved Public Events");
	$links[] = "list_unapproved.php?user=__public__";
}
?>

<h2><?php etranslate("Administrative Tools")?></h2>

<table class="admin">
<?php
	for ( $i = 0; $i < count ($names); $i++ ) {
		if ( $i % $COLUMNS == 0 )
			echo "<tr>\n";
			echo "<td>";
		if ( ! empty ($links[$i]) )
			echo "<a href=\"$links[$i]\">";
		echo $names[$i];
		if ( ! empty ($links[$i]) )
			echo "</a>";
		echo "</td>\n";
		if ($i % $COLUMNS == $COLUMNS - 1)
			echo "</tr>\n";
	}
	if ( $i % $COLUMNS != 0 )
		echo "</tr>\n";
?>
</table>

<?php print_trailer(); ?>
</body>
</html>

Youez - 2016 - github.com/yon3zu
LinuXploit