I have quite a few scripts being used across my site to call images dynamically. When my server upgraded the scripts all stopped working. Perhaps someone can point me to the problem so I can get this PHP5 compatible?
Here is the script:
[php]<?php
if ($visual_guide == “001-Dengar-The-Vintage-Collection-VC01”) {
print (’
');
include(“http://www.jeditemplearchives.com/vintagecollection/pages/tvc-01-Dengar.shtml”);
include(“http://www.jeditemplearchives.com/vintagecollection/related/tvc-wave1.shtml”);
} elseif ($visual_guide == “002-Leia-Hoth-Outfit-The-Vintage-Collection-VC02”) {
print (’
');
include(“http://www.jeditemplearchives.com/vintagecollection/pages/tvc-02-LeiaHoth.shtml”);
include(“http://www.jeditemplearchives.com/vintagecollection/related/tvc-wave1.shtml”);
} else {
print (’
});
});
<div class="InfoBox">
<div class="InfoDetails">
<p> </p>
No Visual Guide Selected. Return to the Archives and try again!
Additional Resources
Here is the page that loads:
http://www.jeditemplearchives.com/vintagecollection/evg/001-Dengar-The-Vintage-Collection-VC01.html
It seems to load the else statement fine, but nothing else.