AnonSec Shell
Server IP : 149.202.105.228  /  Your IP : 216.73.216.123
Web Server : Apache
System : Linux webm129.cluster030.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
User : atfycaf ( 116275)
PHP Version : 7.4.33
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/atfycaf/www/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/atfycaf/www/pages.php
<?php
$pageURL	= $_GET["pageURL"];
include "globalVars.php";

$pageQuery = mysqli_query($conn, "SELECT * FROM pages_". $LANG_DB ." WHERE pageURL = '$pageURL'");
if (mysqli_num_rows($pageQuery) == 0) {
	$pageID				= 0;
	$headerTitle		= $LANG_404_HEADER_TITLE;
	$metaKey			= "";
	$metaDesc			= "";
	$pageTitle			= $LANG_404_HEADER_TITLE;
	include 'header.php';
	?>
	<div id="pageBreadcrumb">
		<div class="container">
			<ol id="pagesBreadcrumb" itemscope itemtype="http://schema.org/BreadcrumbList">
				<li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem"><a href="<?php echo $url ?>" itemprop="item"><span itemprop="name"><i class="fa fa-home" aria-hidden="true" title="<?php echo $LANG_MENU_HOME_TITLE ?>"></i></span></a><meta itemprop="position" content="1" /></li>
				<li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem"><a href="<?php echo $url ?>404.html" itemprop="item"><span itemprop="name"><?php echo $LANG_404_BC_TITLE ?></span></a><meta itemprop="position" content="2" /></li>
			</ol>
		</div>
	</div>
	<div class="mainContent tb40">
		<div class="container">
			<div class="textBox bg2">
				<h2><?php echo $LANG_404_PAGE_TITLE ?></h2>
				<p><?php echo $LANG_404_TEXT ?></p>
				<p><?php echo str_replace("[[HOME_PAGE_LINK]]", $url, $LANG_404_HOME_LINK) ?></p>
			</div>
		</div>
	</div>
	<?php
	include 'footer.php';
	
} else {
	while ($r = mysqli_fetch_array($pageQuery)) {
		$pageID				= $r["id"];
		$breadcrumbTitle	= $r["menuTitle"];
		$headerTitle		= $r["headerTitle"];
		$thisTM				= $r["topMenu"];
		$thisParentID		= $r["parentID"];
		$metaKey			= $r["metaKey"];
		$metaDesc			= $r["metaDesc"];
		$pageTitle			= $r["pageTitle"];
	}
	if ($thisParentID != 0) {
		$parentQuery = mysqli_query($conn, "SELECT parentID, pageURL, headerTitle, placeHolder FROM pages_". $LANG_DB ." WHERE id = '$thisParentID'");
		while ($paQ = mysqli_fetch_array($parentQuery)) {
			$thisGParentID	= $paQ["parentID"];
			$parentURL		= $paQ["pageURL"];
			$parentTitle	= $paQ["headerTitle"];
			$placeHolder	= $paQ["placeHolder"];
		}
	}

	$pageDisplay	= "";
	$pageContentQuery = mysqli_query($conn, "SELECT moduleContent FROM pagesModules_". $LANG_DB ." WHERE pageID = '$pageID' ORDER BY moduleOrder ASC");
	while ($pC = mysqli_fetch_array($pageContentQuery)) {
		$moduleContent	= $pC["moduleContent"];
		if (strstr($moduleContent, "[[LEAGUE_TABLE_BOX]]")) {
			$includeSlider	= true;
		}
		$moduleContent	= moduleReplace($moduleContent, $LANG_DB, $LANG_DEFAULT_EMAIL, $url, $Iurl);

		if (strstr($moduleContent, '<a href="mailto:')) {
			$emailFrom		= strpos($moduleContent, '<a href="mailto:');
			$emailTo		= strpos($moduleContent, '">', $emailFrom);
			$emailStrLen	= ($emailTo - $emailFrom) + 2;
			$emailLink		= substr($moduleContent, $emailFrom, $emailStrLen);
			$emailAddress	= str_replace(array('<a href="mailto:', '">'), "", $emailLink);
			$replaceEmail	= maskPageEmail($emailAddress);
			$moduleContent	= str_replace($emailLink, $replaceEmail, $moduleContent);
		}

		$pageDisplay	.= $moduleContent;
	}
	include 'header.php';
	?>
	<div id="pageBreadcrumb">
		<div class="container">
			<ol id="pagesBreadcrumb" itemscope itemtype="http://schema.org/BreadcrumbList">
				<li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem"><a href="<?php echo $url ?>" itemprop="item"><span itemprop="name"><i class="fa fa-home" aria-hidden="true" title="<?php echo $LANG_MENU_HOME_TITLE ?>"></i></span></a><meta itemprop="position" content="1" /></li>
			<?php
			if ($thisParentID == 0) {
				?>
				<li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem"><a href="<?php echo $url . $pageURL ?>.html" itemprop="item"><span itemprop="name"><?php echo $headerTitle ?></span></a><meta itemprop="position" content="2" /></li>
				<?php
			} else {
				if ($placeHolder == 0) {
					?>
				<li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem"><a href="<?php echo $url . $parentURL ?>.html" itemprop="item"><span itemprop="name"><?php echo $parentTitle ?></span></a><meta itemprop="position" content="2" /></li>
					<?php
				} else {
					?>
				<li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem"><a itemprop="item"><span itemprop="name"><?php echo $parentTitle ?></span></a><meta itemprop="position" content="2" /></li>
					<?php
				}
				?>
				<li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem"><a href="<?php echo $url . $pageURL ?>.html" itemprop="item"><span itemprop="name"><?php echo $headerTitle ?></span></a><meta itemprop="position" content="3" /></li>
				<?php
			}
			?>
			</ol>
		</div>
	</div>
	<?php
	echo $pageDisplay ;

	if ($pageURL == "committee-members") {
		?>
	<div class="mainContent b40">
		<div class="container">
			<div class="textRow">
				<div class="committeeContainer">
					<div class="committeeRow committeeTitleRow">
						<div class="committeePos">
							<?php echo $LANG_COMMITTEE_POSITION_TITLE ?>
						</div>
						<div class="committeeName">
							<?php echo $LANG_COMMITTEE_NAME_TITLE ?>
						</div>
					</div>
				<?php
				$committeeMembersQuery = mysqli_query($conn, "SELECT * FROM committeeMembers ORDER BY memberOrder ASC");
				while ($cMQ = mysqli_fetch_array($committeeMembersQuery)) {
					$memberName			= $cMQ["memberName"];
					$memberPosition		= $cMQ["memberPosition"];
					$memberEmail		= $cMQ["emailAddress"];
					$showMemberEmail	= $cMQ["showEmail"];
					if (trim($memberName) == "") {
						$memberName	= "T.B.A.";
					}
					?>
					<div class="committeeRow">
						<div class="committeePos">
							<?php echo $memberPosition ?>
						</div>
						<div class="committeeName skiptranslate">
							<?php
							if ( ($showMemberEmail == 1) && (trim($memberEmail) != "") ) {
								echo maskCommitteeEmail($memberEmail, $memberName);
							} else {
								echo $memberName;
							}
							?>
						</div>
					</div>
					<?php
				}
				?>
				</div>
			</div>
		</div>
	</div>
	<div class="mainContent tb40">
		<div class="container">
			<div class="textRow">
				<h3><?php echo $LANG_CLUB_REPS_TITLE ?></h3>
				<div class="committeeContainer">
					<div class="committeeRow committeeTitleRow">
						<div class="committeePos">
							<?php echo $LANG_CLUB_REPS_CLUB_TITLE ?>
						</div>
						<div class="committeeName">
							<?php echo $LANG_COMMITTEE_NAME_TITLE ?>
						</div>
					</div>
					<?php
				$clubRepsQuery = mysqli_query($conn, "SELECT * FROM localClubs ORDER BY clubName ASC");
				while ($cRQ = mysqli_fetch_array($clubRepsQuery)) {
					$clubRep		= $cRQ["clubRep"];
					$clubName		= $cRQ["clubName"];
					$clubLink		= $cRQ["clubWebsite"];
					$clubBadge		= $cRQ["clubBadge"];
					if (trim($clubRep) == "") {
						$clubRep	= "T.B.A.";
					}
					?>
					<div class="committeeRow">
						<div class="committeePos skiptranslate">
							<a href="<?php echo $clubLink ?>" target="_blank"><img src="<?php echo $Iurl ?>clubs/<?php echo $clubBadge ?>" class="committeeClubLogo" height="40" alt="<?php echo $clubName ?>" title="<?php echo $clubName ?>"> <?php echo $clubName ?></a>
						</div>
						<div class="committeeName skiptranslate">
							<?php
							echo $clubRep;
							?>
						</div>
					</div>
					<?php
				}
				?>
				</div>
			</div>
		</div>
	</div>
		<?php
	} elseif ($pageURL == "championship-honours") {
		$i	= 1;
		$honoursGroupsQuery = mysqli_query($conn, "SELECT g.id, g.groupTitle, (SELECT id FROM honours WHERE groupType = g.id ORDER BY id ASC LIMIT 0,1) AS honourID FROM honoursGroups AS g LEFT JOIN honours AS h ON h.groupType = g.id GROUP BY g.groupTitle HAVING COUNT(h.id) > 0 ORDER BY RAND()");
		while ($hGQ = mysqli_fetch_array($honoursGroupsQuery)) {
			$honoursGroupID		= $hGQ["id"];
			$honoursGroupTitle	= $hGQ["groupTitle"];
			?>
	<div class="mainContent b40<?php if ($i % 2 == 0) {?> grey<?php } ?>">
		<div class="container">
			<div class="textRow">
				<h2><?php echo $honoursGroupTitle ?></h2>
				<div class="honoursContainer">
					<div class="honoursRow honoursTitleRow">
						<div class="honoursYear">
							<?php echo $LANG_HONOURS_YEAR_TITLE ?>
						</div>
						<div class="honoursLocation">
							<?php echo $LANG_HONOURS_LOCATION_TITLE ?>
						</div>
						<div class="honoursWinner">
							<?php echo $LANG_HONOURS_WINNER_TITLE ?>
						</div>
					</div>
				<?php
				$honoursListQuery = mysqli_query($conn, "SELECT * FROM honours WHERE groupType = '$honoursGroupID' ORDER BY honourYear DESC");
				while ($hLQ = mysqli_fetch_array($honoursListQuery)) {
					$honourYear		= $hLQ["honourYear"];
					$honourLocation	= $hLQ["honourLocation"];
					$honourWinner	= $hLQ["honourWinner"];
					?>
					<div class="honoursRow">
						<div class="honoursYear">
							<?php echo $honourYear ?>
						</div>
						<div class="honoursLocation">
							<?php echo $honourLocation ?>
						</div>
						<div class="honoursWinner skiptranslate">
							<?php echo $honourWinner ?>
						</div>
					</div>
					<?php
				}
				?>
				</div>
			</div>
		</div>
	</div>
			<?php
			$i++;
		}
	}
	?>

	<?php
	include 'footer.php';
}
?>

Anon7 - 2022
AnonSec Team