403Webshell
Server IP : 104.21.17.213  /  Your IP : 216.73.217.141
Web Server : Apache
System : Linux hosting01.arsenalhost.com 4.18.0-425.13.1.lve.el8.x86_64 #1 SMP Mon Feb 27 15:23:24 EST 2023 x86_64
User : corbizre ( 1013)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/corbizre/rentalssearch.com/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/corbizre/rentalssearch.com/rss.php
<?php
//echo "<pre>";
//print_r($_REQUEST);
//print_r($_SERVER);
//session_start();
//echo "</pre>";
include_once "config.php";
include_once "lib/common.lib.php";
require_once "lib/main.php";
require_once "lib/dbmysql.class.php";
require_once 'lib/awt_tpl.class.php';

$template_file = 'main-rss.tpl.html';
$error_message = '';
$content_type = '';
$where_house="";
$default_category = 'commercial-property-for-rent';
$category = array();
$not_found = 0;
    
$tpl = new AwtTpl();
$db = new DbMySQL(DB_HOST, DB_NAME, DB_USER, DB_PWD);
$db->connect();

$sql = "SELECT url_path,path,`status`,use_type,address,city,state,last_update,created_date FROM realty h INNER JOIN content_category c ON h.ID=c.houses_id WHERE h.created_date>CURDATE()-INTERVAL 1 DAY AND h.url_path IS NOT NULL ORDER BY last_update DESC";
$houses = $db->select($sql);
if(!$houses){
	$sql = "SELECT url_path,path,`status`,use_type,address,city,state,last_update,created_date FROM realty h INNER JOIN content_category c ON h.ID=c.houses_id WHERE date(h.created_date)=date(h.last_update) AND h.url_path IS NOT NULL ORDER BY last_update DESC LIMIT 100";
	$houses = $db->select($sql);
}

$tpl->assign("houses",    $houses);
$tpl->display($template_file);
?>

Youez - 2016 - github.com/yon3zu
LinuXploit