[2023-01-23] 4images 1.10 released
0 Members and 1 Guest are viewing this topic.
E: random.php was included into the random_mod.php site
<?php include("./random.php"); ?>
<?phpinclude("http://www.galeriadelcucurucho.com/galeria/aleatoria.php");?>
<iframe src="http://www.galeriadelcucurucho.com/galeria/aleatoria.php" width="180" scrolling="no" frameborder="0"></iframe>
include(ROOT_PATH.'includes/constants.php');
define(URL_ALEATORIA', 'http://www.tu_dominio.com/galeria/');
$thumb_src = (is_remote($row['image_thumb_file'])) ? $row['image_thumb_file'] : ROOT_PATH.THUMB_DIR."/".$cat_id."/".$row['image_thumb_file'];
$thumb_src = (is_remote($row['image_thumb_file'])) ? $row['image_thumb_file'] :URL_ALEATORIA.THUMB_DIR."/".$cat_id."/".$row['image_thumb_file'];
echo "<a href=\"".ROOT_PATH."details.php?image_id=$image_id\"><img src=\"".$thumb_src."\" border=\"0\" alt=\"$image_name\"></a><br>\n";
echo "<a href=\"".URL_ALEATORIA."details.php?image_id=$image_id\"><img src=\"".$thumb_src."\" border=\"0\" alt=\"$image_name\"></a><br>\n";