Esempio n. 1
0
?>
</label>
			</td>
		</tr>
		<tr>
			<td align="right" class="nowrap"><?php 
echo _ID;
?>
:</td>
			<td width="100%">
				<div id="id_current">
					<?php 
$filename = findNewestFileById("files/ids/", $_auth["useid"], "images/nothumb.gif");
$imageInfo = getimagesize($filename);
if ($imageInfo[2] == 4 || $imageInfo[2] == 13) {
    echo getSWF($filename, 1, 150, 150);
} else {
    $width = round($imageInfo[0] * 0.25);
    $height = round($imageInfo[1] * 0.25);
    makeFloatingThumb("", url() . $filename, $imageInfo[0], $imageInfo[1], 0, false, $onmouseover, $onmouseout);
    echo getIMG(urlf() . $filename, 'style="width: ' . $width . 'px; height: ' . $height . 'px" ' . 'onmouseover="' . $onmouseover . '" onmouseout="' . $onmouseout . '"', true);
}
$script = "make_invisible('id_current'); " . "make_visible('id_hint'); " . "make_visible('id_choose'); " . "return false;";
?>
					&nbsp;<a href="" onclick="<?php 
echo $script;
?>
">
						<?php 
echo getIMG(urlf() . "images/emoticons/edit.png", "") . " " . _CHANGE;
?>
Esempio n. 2
0
</div>
<div class="clear">&nbsp;</div>
<?php 
echo iefixEnd();
$whereMature = "1";
applyObjFilters($whereMature);
$whereMature = "AND " . $whereMature;
?>
<div class="leftside">
	<?php 
$ID = "";
$filename = findNewestFile(applyIdToPath("files/clubids/", $cluData["cluid"]) . "-*", "");
if ($filename != "") {
    if (preg_match('/\\.swf$/', $filename)) {
        list($maxWidth, $maxHeight) = preg_split('/x/', $_config["idResolution"]);
        $ID = '<div class="a_center mar_bottom">' . getSWF($filename, 1.0, $maxWidth, $maxHeight) . '</div>';
    } else {
        $ID = '<div class="a_center mar_bottom"><img src="' . urlf() . $filename . '" /></div>';
    }
}
if ($ID != "" || trim($cluData["cluProfile"]) != "") {
    ?>
		<div class="container2 mar_bottom">
			<?php 
    echo $ID;
    ?>
			<div><?php 
    echo formatText($cluData["cluProfile"]);
    ?>
</div>
		</div>