| Server IP : 208.122.213.31 / Your IP : 216.73.216.45 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/pornstarhoneys.com/public_html/tera-patrick/ |
Upload File : |
<?php // pornstarhoneys tour page
$modelname = "Tera Patrick";
$baseDir = '/home/httpd/pornstarhoneys.com/html';
require "../include/global.php";
include "../include/types.php";
include "../include/dbFuncs.php";
$link = dbConnect($databaseName);
$timestamp = mktime(0,0,0);
$model = f(q("SELECT num_sets, num_pics FROM models WHERE name='".$modelname."'", $link));
include "../modules/model-header.php";
include "../modules/model-table.php";
$pornstar = f(q("SELECT * FROM honeys WHERE girlname = '".$modelname."'", $link));
$model_dir = strtolower(str_replace(' ', '-', $modelname));
$set_dirs = dir($baseDir.'/'.$model_dir);
$dir_array = array();
while ($current_directory = $set_dirs->read()) {
if (!is_dir($baseDir.'/'.$model_dir."/".$current_directory) || ($current_directory == '.') || ($current_directory == '..')) continue;
$dir_array[] = $current_directory;
}
sort($dir_array);
for ($x=0; $x < count($dir_array); $x++) {
include "../modules/table1.php";
echo str_replace('_', ' ', $dir_array[$x])."\n";
include "../modules/table2.php";
$pic_dir = dir($baseDir.'/'.$model_dir.'/'.$dir_array[$x]);
$pic_array = array();
while ($pic_name = $pic_dir->read()) {
if (($pic_name == '.') || ($pic_name == '..') || !strstr($pic_name, '.jpg')) continue;
$pic_array[] = $pic_name;
}
sort($pic_array);
for ($i=0; $i < count($pic_array); $i++) {
// GET THUMB DIMENSIONS
$src_img = imagecreatefromjpeg($baseDir.'/'.$model_dir.'/'.$dir_array[$x].'/'.$pic_array[$i]);
$src_w = imagesx($src_img);
$src_h = imagesy($src_img);
imagedestroy($src_img);
// echo "<td valign='top' class='picborder1'><img src='".$model_dir.'/'.$dir_array[$x].'/'.$pic_array[$i]."' width='".$src_w."' height='".$src_h."' alt='' border='0'></td>\n";
echo "<td valign='top' class='picborder1'><img src='".$dir_array[$x].'/'.$pic_array[$i]."' width='".$src_w."' height='".$src_h."' alt='' border='0'></td>\n";
}
include "../modules/table3.php";
$set = f(q("SELECT pics FROM sets WHERE (girlname='".$modelname."' OR girlname like '".$modelname.";%' OR girlname LIKE '%;".$modelname."') AND name='".str_replace('_', ' ', $dir_array[$x])."'", $link));
echo "There are ".number_format($set->pics, 0)." photos in this shoot.\n";
include "../modules/table4.php";
include "../modules/table-link.php";
} // while maindir
include "../modules/table5.php";
?>