📄 tpl_view.php
字号:
<?php
/* This layout is similar to tpl_uploader.php
You may need to change the path to the css file if you're getting a really bad layout with no styles.
*/
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<meta http-equiv="Content-type" content="text/html; charset=iso-8859-1" />
<title>www.cdupload.com - Uploader v6</title>
<link rel="stylesheet" type="text/css" href="<?=$UPL['SETTINGS']['uploader_url']?>/templates/default/style.css" media="all">
<script type="text/javascript">
function resize ( )
{
var the_image = document.getElementById ( 'the_image' );
var image_container = document.getElementById ( 'container' );;
if ( the_image && image_container )
{
if ( the_image.width >= image_container.style.width )
{
image_container.style.width = ( the_image.width + 50 ) + 'px';
}
}
}
document.onload=function ( ) { resize ( ); }
</script>
</head>
<body onload="resize();">
<div id="container">
<div id="container2">
<div id="menu">
<div style="float:left;width:350px;">
<strong>File view</strong><br />
<a href="<?=$file_url?>"><?=$file_name?></a>
</div>
</div>
<div id="content">
<table style="background-color:#FAFAFA;width:100%;" cellspacing="1" cellpadding="3">
<tr>
<td>[IMG] tag:</td>
<td>[IMG]<?=$file_url?>[/IMG]</td>
</tr>
<tr>
<td>HTML image tag:</td>
<td><img src="<?=$file_url?>" alt="<?=$file_name?>" /></td>
</tr>
</table>
<p style="text-align:center;margin:10px;">
<img src="<?=$file_url?>" id="the_image" alt="" style="border: 2px solid #eaeaea;" />
</p>
</div>
</div>
</div>
<div id="credit">
<!-- This script is copyrighted, PLEASE don't remove. -->
Uploaderv6b2 © <a href="http://www.celerondude.com">www.celerondude.com</a>
</div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -