AnonSec Shell
Server IP : 149.202.105.228  /  Your IP : 216.73.216.18
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/admin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/atfycaf/www/admin/pagesDivHTMLSelect.php
<?php
include 'globalVars.php';

$thisID		= $_GET["thisID"];
$thisType	= str_replace("divType", "", $_GET["thisType"]);

if (isset($_GET["getHTML"])) {		

	///// STANDARD BEGINNING OF THE DIV - DO NOT EDIT - SAME FOR ALL \\\\\
	$htmlResponse	= '
<div class="selectableDiv" id="pageDiv'. $thisID .'_--DIVID--">
	<div class="portlet-header">X <span>Delete this section</span></div>
	<div class="handle">Drag Me</div>
	<div class="editableArea" id="editable'. $thisID .'_--DIVID--">';
	///// DO NOT EDIT - SAME FOR ALL \\\\\

	///// CREATE THE DIV OPENER \\\\\
	if ($thisType == 1 || $thisType == 6) {
		$htmlResponse	.= '
		<div class="twoBoxes';
	}
	if ($thisType == 2 || $thisType == 7) {
		$htmlResponse	.= '
		<div class="threeBoxes';
	}
	if ($thisType == 3) {
		$htmlResponse	.= '
		<div class="fourBoxes';
	}
	if ($thisType == 4) {
		$htmlResponse	.= '
		<div class="textWBG';
	}
	if ($thisType == 5) {
		$htmlResponse	.= '
		<div class="textBG';
	}
	if ($thisType == 8) {
		$htmlResponse	.= '
		<div class="pGallery';
	}
	///// END DIV CREATION \\\\\

	///// SETUP THE CONTAINER - DO NOT EDIT - SAME FOR ALL \\\\\
	$htmlResponse	.= ' mainContent">';

	if ($thisType == 4) {
		$htmlResponse	.= '
			<div class="textBG defaultBG">
				<div class="textBGCover">&nbsp;</div>
				<div class="container">';
	} else {
		$htmlResponse		.= '
			<div class="container">';
	}
	///// DO NOT EDIT - SAME FOR ALL \\\\\

	///// CREATE THE MAGIC \\\\\
	if ($thisType == 1) {
		$htmlResponse	.= '
				<div class="boxRow">';

				for ($b = 1; $b <= 2; $b++) {
		$htmlResponse	.= '
					<div class="twoBox">
						<h2>Your Title Here</h2>
						<p>Your text here</p>
					</div>';
				}

		$htmlResponse	.= '
				</div>';
	}
	if ($thisType == 2) {
		$htmlResponse	.= '
				<div class="boxRow">';

				for ($b = 1; $b <= 3; $b++) {
		$htmlResponse	.= '
					<div class="threeBox">
						<h2>Your Title Here</h2>
						<p>Your text here</p>
					</div>';
				}

		$htmlResponse	.= '
				</div>';
	}
	if ($thisType == 3) {
		$htmlResponse	.= '
				<div class="boxRow">';

				for ($b = 1; $b <= 4; $b++) {
		$htmlResponse	.= '
					<div class="fourBox">
						<h2>Your Title Here</h2>
						<p>Your text here</p>
					</div>';
				}

		$htmlResponse	.= '
				</div>';
	}
	if ($thisType == 4) {
		$htmlResponse	.= '
					<div class="textRow">
						<h2>Your Title Here</h2>
						<p>Your Text Here</p>
					</div>
					&nbsp;
				</div>';
	}
	if ($thisType == 5) {
		$htmlResponse	.= '
				<div class="textRow">
					<h2>Your Title Here</h2>
					<p>Your Text Here</p>
				</div>';
	}
	if ($thisType == 6) {
		$htmlResponse	.= '
				<h2>Tournament Update Title Here</h2>
				<div class="boxRow">
					<div class="twoBox">
						THE KNOCKOUT RESULTS WILL BE INSERTED HERE
					</div>
					<div class="twoBox">
						THE KNOCKOUT FIXTURES WILL BE INSERTED HERE
					</div>
				</div>';
	}
	if ($thisType == 7) {
		$htmlResponse	.= '
				<h2>League Update Title Here</h2>
				<div class="boxRow">
					<div class="threeBox">
						THE LEAGUE RESULTS WILL BE INSERTED HERE
					</div>
					<div class="threeBox">
						THE LEAGUE TABLE WILL BE INSERTED HERE
					</div>
					<div class="threeBox">
						THE LEAGUE FIXTURES WILL BE INSERTED HERE
					</div>
				</div>';
	}
	if ($thisType == 8) {
		$htmlResponse	.= '
				<h2>Photo Gallery</h2>
				<div class="gPhotosContainer">
					THE GALLERY SLIDES WILL BE INSERTED HERE
				</div>
				&nbsp;';
	}
	///// END THE MAGIC \\\\\

	///// CLOSE THE DIVS - DO NOT EDIT - SAME FOR ALL \\\\\
	$htmlResponse		.= '
			</div>
		</div>
	</div>
</div>';
	///// DO NOT EDIT - SAME FOR ALL \\\\\

	echo $htmlResponse;

} else {
	?>
<input type="hidden" id="htmlInsertID" value="<?php echo $thisID ?>">
<input type="hidden" id="htmlType" value="<?php echo $thisType ?>">

<form id="htmlChoices">
	<?php
	if ($thisType == 1) {
		///// 2 BOXES \\\\\
		?>
	<div class="twoBoxes mainContent">
		<div class="container">
			<div class="boxRow">
			<?php
			for ($b = 1; $b <= 2; $b++) {
				?>
				<div class="twoBox">
					<h2>Your Title Here</h2>
					<p>Your text here</p>
				</div>
				<?php
			}
			?>
			</div>
		</div>
	</div>
		<?php
	}
	if ($thisType == 2) {
		///// 3 BOXES \\\\\
		?>
	<div class="threeBoxes mainContent">
		<div class="container">
			<div class="boxRow">
			<?php
			for ($b = 1; $b <= 3; $b++) {
				?>
				<div class="threeBox">
					<h2>Your Title Here</h2>
					<p>Your text here</p>
				</div>
				<?php
			}
			?>
			</div>
		</div>
	</div>
		<?php
	}
	if ($thisType == 3) {
		///// 4 BOXES \\\\\
		?>
	<div class="fourBoxes mainContent">
		<div class="container">
			<div class="boxRow">
			<?php
			for ($b = 1; $b <= 4; $b++) {
				?>
				<div class="fourBox">
					<h2>Your Title Here</h2>
					<p>Your text here</p>
				</div>
				<?php
			}
			?>
			</div>
		</div>
	</div>
		<?php
	}
	if ($thisType == 4) {
		///// TEXT WITH BACKGROUND \\\\\
		?>
	<div class="textWBG mainContent">
		<div class="textBG defaultBG">
			<div class="textBGCover">&nbsp;</div>
			<div class="container">
				<div class="textRow">
					<h2>Your Title Here</h2>
					<p>Your Text Here</p>
				</div>
			</div>
		</div>
	</div>
		<?php
	}
	if ($thisType == 5) {
		///// TEXT WITHOUT BACKGROUND \\\\\
		?>
	<div class="textBG mainContent">
		<div class="container">
			<div class="textRow">
				<h2>Your Title Here</h2>
				<p>Your Text Here</p>
			</div>
		</div>
	</div>
		<?php
	}
	if ($thisType == 6) {
		///// KNOCKOUT UPDATE \\\\\
		?>
	<div class="twoBoxes mainContent">
		<div class="container">
			<h2>Tournament Update</h2>
			<div class="boxRow">
				<div class="twoBox">
					<h2>Latest Tournament Results</h2>
					<p>Results here</p>
				</div>
				<div class="twoBox">
					<h2>Tournament Fixtures</h2>
					<p>Fixtures here</p>
				</div>
			</div>
		</div>
	</div>
		<?php
	}
	if ($thisType == 7) {
		///// LEAGUE UPDATE \\\\\
		?>
	<div class="threeBoxes mainContent">
		<div class="container">
			<h2>League Update</h2>
			<div class="boxRow">
				<div class="threeBox">
					<h2>Latest League Results</h2>
					<p>Results here</p>
				</div>
				<div class="threeBox">
					<h2>League Table</h2>
					<p>Table here</p>
				</div>
				<div class="threeBox">
					<h2>League Fixtures</h2>
					<p>Fixtures here</p>
				</div>
			</div>
		</div>
	</div>
		<?php
	}
	if ($thisType == 8) {
		///// GALLERY SLIDER \\\\\
		?>
	<div class="photoGalleryContainer mainContent">
		<div class="gallerySlideContainer">
			<div class="container">
				<div class="gPhotosContainer">
					<h2>Photo Gallery</h2>
					Photos go here...
				</div>
				&nbsp;
			</div>
		</div>
	</div>
		<?php
	}
	?>
	<a id="htmlCancel">Cancel</a>
	<a id="htmlInsert">Insert into the page</a>
</form>

<script type="text/javascript">
$(document).ready(function() {
	$("#htmlChoices select").selectmenu();
});
</script>
	<?php
}
?>

Anon7 - 2022
AnonSec Team