Try the following code in place of your display.php code
PHP Code:
<?php
// Version 0.9.1.1 of the Free Smileys mod
// Language translators, please check the lang.php file instead.
require("../SSI.php");
echo '<html>
<head>
<title>Free Smileys Mod</title>
<!-- The ?rc3 part of this link is just here to make sure browsers don\'t cache it wrongly. -->
<link rel="stylesheet" type="text/css" href="', $settings['theme_url'], '/style.css?rc3" />
<link rel="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/print.css?rc3" media="print" />
</head>
<body class="windowbg">
<script language="javascript">
function next()
{
try{
setTimeout(\'randomImage("http://skins.hotbar.com/skins/mailskins/em/google_emoticons/emoti_","gif",484)\',200);
} catch(Error) {}
}
next();
</script>
<script language="javascript">
function randomImage(baseURL,ext,maxNum)
{
try {
randNum= Math.floor(Math.random()*maxNum);
randNum++;
var url = baseURL+randNum+"."+ext;
emoti.src = url;
emoti.style.visibility="visible";
box.value = "[img]" + url + "[/img]";
} catch (error) {alert(error);}
}</script>
<table border="0" align="center">
<tr>
<td valign="middle">
<script>
<!--
document.write(unescape("%3Cbutton%20name%3D%22fetchnewsmiley%22%20onclick%3D%22next%28%29%22%3E%3Cimg%20src%3D%22fetchnewsmiley.gif%22%3E%3C/button%3E%3Cinput%20type%3D%22text%22%20name%3D%22box%22%20id%3D%22box%22%20value%3D%22%22%20size%3D%22100%22%20onClick%3D%22javascript%3Athis.focus%28%29%3Bthis.select%28%29%3B%22%3E"));
//-->
</script>
</td>
</tr>
<tr height=150>
<td align=center valign=center>
<img id=emoti style="visibility:hidden" border="0"><br />
<font size="1">'. include("language.php"). '<br />
Free Smileys 0.9.1.1<script>
<!--
document.write(unescape("%3Cscript%3E%0A%3C%21--%0Adocument.write%28unescape%28%22%253Cscript%253E%250A%253C%2521--%250Adocument.write%2528unescape%2528%2522%252520-%252520%25253Ca%252520href%25253D%252522http%25253A//www.a2h.8m6.net%252522%25253Eanger2headshot%25253C/a%25253E%2522%2529%2529%253B%250A//--%253E%250A%253C/script%253E%22%29%29%3B%0A//--%3E%0A%3C/script%3E"));
//-->
</script>';
$show = 'lang';
include('language.php');
echo '</font>
</td>
</tr>
</table>
</body>
</html>';
?>
It worked for me once I comment that require line without any problem. I strongly suggest to test the above mentioned code in place of your original display.php page and make sure that the path information is correct.
Bookmarks