Vanilla 1.1.5a is a product of Lussumo. More Information: Documentation, Community Support.
<?php require("gallery.php"); ?><?php require("comparison.php"); ?><head>
<?php the_gallery_head(); ?>
</head>
<body>
<div id="compare1">
<?php the_gallery(); ?>
</div>
<div id="compare2">
<?php the_gallery(); ?>
</div>
</body>
<script type='text/javascript' src='<?php echo THEME_URL ?>jquery-1.2.3.js'></script>
<script type='text/javascript'>
$(document).ready(function() {
compare("#compare1");
compare("#compare2");
});
function compare(target){
$(target + " a")
.click(function(){
compareAJAX(this.href,target);
return false;
});
}
function compareAJAX(url,target){
var plog = url.split("?");
$.ajax({
type: "GET",
url: "index.php",
data: plog[1],
cache: false,
success: function(html){
$(target + " #wrapper").replaceWith(html);
compare(target);
}
});
}
</script>
<?php require("gallery.php"); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xml:lang="<?php echo $language; ?>" lang="<?php echo $language; ?>" xmlns="http://www.w3.org/1999/xhtml">
<head>
<?php the_gallery_head(); ?>
<script type='text/javascript' src='<?php echo THEME_URL ?>jquery-1.2.3.js'></script>
<script type='text/javascript'>
$(document).ready(function() {
compare("#compare1");
compare("#compare2");
});
function compare(target){
$(target + " a")
.click(function(){
compareAJAX(this.href,target);
return false;
});
}
function compareAJAX(url,target){
var plog = url.split("?");
$.ajax({
type: "GET",
url: "index.php",
data: plog[1],
cache: false,
success: function(html){
$(target + " #wrapper").replaceWith(html);
compare(target);
}
});
}
</script>
</head>
<body>
<div id="compare1">
<?php the_gallery(); ?>
</div>
<div id="compare2">
<?php the_gallery(); ?>
</div>
</body>
</html>
<?php require("gallery.php"); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xml:lang="<?php echo $language; ?>" lang="<?php echo $language; ?>" xmlns="http://www.w3.org/1999/xhtml">
<head>
<?php the_gallery_head(); ?>
</head>
<body>
<?php the_gallery(); ?>
</body>
</html>
function the_gallery_foot() {
$use_file = 'foot.php';
if (file_exists(THEME_DIR . "/" . $use_file)) {
include(THEME_DIR . "/" . $use_file);
} else {
include(dirname(__FILE__).'/themes/default/'.$use_file);
}
}
<?php the_gallery_foot();?> where you would like the overall footer to be placed and it will pull in anything you have in 'foot.php'.
1 to 20 of 20