Quote:
$Url_Path = "http://www.zclub.net/gallery/"; //URL of your photo album, where the index.php is (with / at end)
$data_dir = "http://www.zclub.net/gallery/data/" ; //URL of your photo dir where those jpeg stored (with / at end)
$images_dir =$Url_Path."images/"; //URL of your photopost images dir where default missing thumb image is stored (with / at end)
$rel_dir = "data/"; // path to the data directory where pictures reside RELATIVE
// to the location of THIS file (used for checking thumbs)
//Database Setting
//You must change these values in order to run this script
//These value are not visible in the output page source
$host = "localhost"; //Server Name
$user= "hehe"; //Username
$password= "hoho"; //Password
$database="haha"; //Photopost database name or forum database name
//Display Setting (Changes to fit your page)
$q_switch = "latest"; // "random" or "most_views" or "latest"
$limit = 1; //number of image to show
$table_width = "100%"; //width of the table generated
$column = 1; //number of columns of the table generated
$photo_cell_align = "center"; //alignment of those cells
|
Like that but with REAL usernames etc