当前位置: 首页>>代码示例>>PHP>>正文


PHP drawFiles函数代码示例

本文整理汇总了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>
开发者ID:BackupTheBerlios,项目名称:rheinaufcms-svn,代码行数:30,代码来源:images.php

示例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>
开发者ID:RTR-ITF,项目名称:usse-cms,代码行数:30,代码来源:images.php

示例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>
开发者ID:happyxlq,项目名称:lt_svn,代码行数:30,代码来源:images.php

示例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>
开发者ID:pheski,项目名称:Scribite,代码行数:30,代码来源:youtube.php

示例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 
开发者ID:sourcefabric,项目名称:newscoop,代码行数:31,代码来源:attachments.php


注:本文中的drawFiles函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。