本文整理汇总了PHP中drawFiles函数的典型用法代码示例。如果您正苦于以下问题:PHP drawFiles函数的具体用法?PHP drawFiles怎么用?PHP drawFiles使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了drawFiles函数的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: drawErrorBase
</script>
<script type="text/javascript" src="<?php
print $IMConfig['base_url'];
?>
assets/images.js"></script>
<script type="text/javascript" src="../../popups/popup.js"></script>
<script type="text/javascript" src="assets/popup.js"></script>
</head>
<body>
<?php
if ($manager->isValidBase() == false) {
drawErrorBase($manager);
} elseif (count($list[0]) > 0 || count($list[1]) > 0) {
?>
<?php
drawDirs($list[0], $manager);
?>
<?php
drawFiles($list[1], $manager);
?>
<?php
} else {
drawNoResults();
}
?>
</body>
</html>
示例2: drawErrorBase
<script type="text/javascript">
</script>
</head>
<body>
<?php
if ($manager->isValidBase() == false) {
drawErrorBase($manager);
} elseif (count($list[0]) > 0 || count($list[1]) > 0) {
?>
<table width="560" cellpadding="0" cellspacing="0">
<?php
$i = 0;
$i = drawDirs($list[0], $manager, $i);
$i = drawFiles($list[1], $manager, $i);
addEmpties($list[1], $manager, $i);
?>
</table>
<?php
} else {
drawNoResults();
}
?>
</body>
</html>
示例3: function
{
var url = "editor.php?img="+image;
Dialog(url, function(param)
{
if (!param) // user must have pressed Cancel
return false;
else
{
return true;
}
}, null);
}
/*]]>*/
</script>
<script type="text/javascript" src="assets/images.js"></script>
</head>
<body>
<?php if ($manager->isValidBase() == false) { drawErrorBase($manager); }
elseif(count($list[0]) > 0 || count($list[1]) > 0) { ?>
<table>
<tr>
<?php drawDirs($list[0], $manager); ?>
<?php drawFiles($list[1], $manager); ?>
</tr>
</table>
<?php } else { drawNoResults(); } ?>
</body>
</html>
示例4: drawErrorBase
<style type="text/css">
.dir_holder, .thumb_holder
{
width:140px; height:110px;
float:left;
margin:6px;
background-color:ButtonFace;
border: 1px outset;
}
</style>
</head>
<body>
<?php
if ($manager->isValidBase() == false) {
drawErrorBase($manager);
} elseif (count($records)) {
?>
<?php
drawFiles($records, $manager);
?>
<?php
} else {
drawNoResults();
}
?>
</body>
</html>
示例5: drawErrorBase
</script>
<script type="text/javascript" src="../../tiny_mce_popup.js"></script>
<script type="text/javascript" src="js/campsitemedia.js"></script>
<script type="text/javascript" src="assets/images.js"></script>
</head>
<body>
<?php
if ($manager->isValidBase() == false) {
drawErrorBase($manager);
} elseif (count($list) > 0) {
?>
<table>
<tr>
<?php
drawFiles($list, $manager);
?>
</tr>
</table>
<?php
$firstAttachment = array_shift($list);
if (!empty($firstAttachment)) {
$downloadURL = $Campsite['SUBDIR'] . '/attachment/' . basename($firstAttachment['attachment']->getStorageLocation());
?>
<!-- automatically select the first attachment -->
<script>
CampsiteMediaDialog.select(<?php
echo $firstAttachment['attachment']->getAttachmentId();
?>
, '<?php