403Webshell
Server IP : 208.122.213.31  /  Your IP : 216.73.216.185
Web Server : Apache
System : Linux msd6191.mjhst.com 4.18.0-553.137.1.el8_10.x86_64 #1 SMP Wed Jun 24 11:40:24 UTC 2026 x86_64
User : WHMCS_MIA_382 ( 1001)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/httpd/html/store.tiacyrusxxx.com/public_html/dev/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/httpd/html/store.tiacyrusxxx.com/public_html/dev/mod_photoset_output.php
<?php

	echo '<div class="photoset_holder">';

	$grab_sql = mysql_query($query) or die(mysql_error());

	if (mysql_num_rows($grab_sql) == 0) { // IF NO RECORDS

		echo 'sorry! no results.';

	} else {

		$rowcount = 1;

		while ($row = mysql_fetch_array($grab_sql)) {

			// WISHLIST PAGE ONLY
			$wishlist = "";
			if ($_SERVER['PHP_SELF'] == "/acct_wishlist.php") {
				$id = $row['content_id'];
				include('mod_wishlist_check.php'); // output: $wishlist
				$wishlist = "<div id=\"wishlist_".$id."\">".$wishlist."</div>";
			}	
			// WISHLIST PAGE ONLY

			if ($row['rate'] == "") {
				$rate = "0.00";
			} else {
				$rate = $row['rate'];
			}
		
			$rate = round($rate,2);

			$models = "";
		
			$get_models = mysql_query("SELECT `cms_models`.* FROM `cms_content_models`
							INNER JOIN `cms_models`
							ON `cms_content_models`.`model_id` = `cms_models`.`model_id`
							WHERE `cms_content_models`.`content_id` = '" . $row['content_id'] . "'") or die(mysql_error());

			if (mysql_num_rows($get_models) > 0) {

				while ($mod = mysql_fetch_array($get_models)) {
					$models .= " <a href=\"model.php?id=".$mod['model_id']."\">".stripslashes($mod['name'])."</a>,";
				}

			}

			$models = rtrim($models, ',');

			echo '<div class="photoset_single"><a href="photoset.php?id=' . $row['content_id'] . '"' . ($rowcount % 4 == 0 ? ' class="holder_last"': "") . '><img src="content/models/' . $row['directory'] . '/preview_thumbnail.jpg"></a><br /><strong>' . $models . '</strong><div class="sidebar_plug_follow button_red"><a href="">Buy Now</a></div></div>';

			$rowcount++;

		}

	}

	echo '</div>';

Youez - 2016 - github.com/yon3zu
LinuXploit