  |
require 'required_navbar.php'; ?> |
 |
 |

Phantom of the Opera - AUS |
|
if ($row_Recordset1['Photo4'] != "") { ?>
To download PDF document please click on the link below. |
 |
// Find file size
$my_file = "/home/httpd/vhosts/daranrumbal.com/httpdocs/files/".$row_Recordset1['Photo4'];
$file_size = filesize($my_file);
$file_size = round($file_size / 1000);
echo "(".$file_size."kb - ";
// Find file extension
$my_file = "/home/httpd/vhosts/crana.org.au/httpdocs/files/".$row_Recordset1['Photo4'];
$str = explode(".",$my_file); // Break it in pieces.
$ext = end($str); // The last one has to be the extension.
echo ".".$ext." file opens in new window)"; ?>
|
 |
} ?> |
|
if ($row_Recordset1['Photo1'] != "") { ?>
/////////////////////////////////////////////////
// DWD Image resize script //
// Works with .jpg images //
// requires chmod 777 '$directories' directory //
// requires imageresize.php //
/////////////////////////////////////////////////
// Edit variables (Image tag can also be edited below)
$domain = "daranrumbal.com";
$directory = "files"; // Direcory path image stored in
$sourcename = $row_Recordset1['Photo1']; // Name of original image
$thumbwidth = "150"; // Width of output image
$jpegquality = "85"; // Quality of jpg, can be 0>100 but 85 is good balance of size/file kb
$pathtoscript = "filescript/imageresize.php";
// require file (do not edit)
require $pathtoscript;
$endpath = "http://".$domain."/".$directory."/thumb".$thumbwidth."_".$sourcename;
// Img tag (editable, but keep $endpath in place - do not enter height or width tags)
echo "  ";
?>
|
} ?> if ($row_Recordset1['Photo2'] != "") { ?>
/////////////////////////////////////////////////
// DWD Image resize script //
// Works with .jpg images //
// requires chmod 777 '$directories' directory //
// requires imageresize.php //
/////////////////////////////////////////////////
// Edit variables (Image tag can also be edited below)
$domain = "daranrumbal.com";
$directory = "files"; // Direcory path image stored in
$sourcename = $row_Recordset1['Photo2']; // Name of original image
$thumbwidth = "150"; // Width of output image
$jpegquality = "85"; // Quality of jpg, can be 0>100 but 85 is good balance of size/file kb
$pathtoscript = "filescript/imageresize.php";
// require file (do not edit)
require $pathtoscript;
$endpath = "http://".$domain."/".$directory."/thumb".$thumbwidth."_".$sourcename;
// Img tag (editable, but keep $endpath in place - do not enter height or width tags)
echo "  ";
?>
|
} ?>
if ($row_Recordset1['Photo3'] != "") { ?>
/////////////////////////////////////////////////
// DWD Image resize script //
// Works with .jpg images //
// requires chmod 777 '$directories' directory //
// requires imageresize.php //
/////////////////////////////////////////////////
// Edit variables (Image tag can also be edited below)
$domain = "daranrumbal.com";
$directory = "files"; // Direcory path image stored in
$sourcename = $row_Recordset1['Photo3']; // Name of original image
$thumbwidth = "150"; // Width of output image
$jpegquality = "85"; // Quality of jpg, can be 0>100 but 85 is good balance of size/file kb
$pathtoscript = "filescript/imageresize.php";
// require file (do not edit)
require $pathtoscript;
$endpath = "http://".$domain."/".$directory."/thumb".$thumbwidth."_".$sourcename;
// Img tag (editable, but keep $endpath in place - do not enter height or width tags)
echo "  ";
?>
|
} ?>
|
|