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


PHP shtDate函数代码示例

本文整理汇总了PHP中shtDate函数的典型用法代码示例。如果您正苦于以下问题:PHP shtDate函数的具体用法?PHP shtDate怎么用?PHP shtDate使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了shtDate函数的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: nm_admin_panel

function nm_admin_panel()
{
    global $NMPAGEURL;
    $posts = nm_get_posts(true);
    if (nm_post_files_differ($posts)) {
        nm_update_cache();
        $posts = nm_get_posts(true);
        if (nm_post_files_differ($posts)) {
            nm_display_message('<b>Warning:</b> Post files/cache mismatch', true);
        } else {
            nm_display_message('Post cache file has been updated', false);
        }
        // not translated
    }
    ?>
  <h3 class="floated"><?php 
    i18n('news_manager/PLUGIN_NAME');
    ?>
</h3>
  <div class="edit-nav clearfix">
    <a href="#" id="filter-button" ><?php 
    i18n('FILTER');
    ?>
</a>
    <a href="load.php?id=news_manager&amp;edit"><?php 
    i18n('news_manager/NEW_POST');
    ?>
</a>
    <a href="load.php?id=news_manager&amp;settings"><?php 
    i18n('news_manager/SETTINGS');
    ?>
</a>
  </div>
  <?php 
    if (!empty($posts)) {
        ?>
    <div id="filter-search">
      <form>
        <input type="text" class="text" id="tokens" placeholder="<?php 
        echo lowercase(strip_tags(i18n_r('FILTER')));
        ?>
..." />
        &nbsp;
        <a href="load.php?id=news_manager" class="cancel"><?php 
        i18n('news_manager/CANCEL');
        ?>
</a>
      </form>
    </div>
    <table id="posts" class="highlight">
    <tr>
      <th><?php 
        i18n('news_manager/POST_TITLE');
        ?>
</th>
      <th style="text-align: right;"><?php 
        i18n('news_manager/DATE');
        ?>
</th>
      <th></th>
      <th></th>
      <th></th>
    </tr>
    <?php 
        foreach ($posts as $post) {
            $title = stripslashes($post->title);
            $date = shtDate($post->date);
            $url = nm_get_url('post') . $post->slug;
            $url = nm_patch_i18n_url($url);
            ?>
      <tr>
        <td class="posttitle">
          <a href="load.php?id=news_manager&amp;edit=<?php 
            echo $post->slug;
            ?>
" title="<?php 
            i18n('news_manager/EDIT_POST');
            ?>
: <?php 
            echo $title;
            ?>
">
            <?php 
            echo $title;
            ?>
          </a>
        </td>
        <td style="text-align: right;">
          <?php 
            if (strtotime($post->date) > time()) {
                echo '<span style="color:#aaa">', $date, '</span>';
            } else {
                echo '<span>', $date, '</span>';
            }
            ?>
        </td>
        <td style="width: 20px;text-align: center;">
          <?php 
            if ($post->private == 'Y') {
                echo '<span style="color: #aaa;">P</span>';
//.........这里部分代码省略.........
开发者ID:sevenns,项目名称:alpremstroy,代码行数:101,代码来源:admin.php

示例2: i18n_r

            $pathlink = $path . $upload['name'];
        }
        echo '</td><td><a title="' . i18n_r('VIEW_FILE') . ': ' . htmlspecialchars($upload['name']) . '" href="' . $pathlink . '" class="primarylink">' . htmlspecialchars($upload['name']) . '</a></td>';
        echo '<td style="width:80px;text-align:right;" ><span>' . $upload['size'] . '</span></td>';
        // get the file permissions.
        if (isDebug()) {
            $filePerms = substr(sprintf('%o', fileperms($path . $upload['name'])), -4);
            if ($isUnixHost) {
                $fileOwner = function_exists('posix_getpwuid') ? posix_getpwuid(fileowner($path . $upload['name'])) : '';
                $fileOwnerName = isset($fileOwner['name']) ? $fileOwner['name'] : '';
            } else {
                $fileOwnerName = getenv('USERNAME');
            }
            echo '<td style="width:70px;text-align:right;"><span>' . $fileOwnerName . '/' . $filePerms . '</span></td>';
        }
        echo '<td style="width:85px;text-align:right;" ><span>' . shtDate($upload['date']) . '</span></td>';
        echo '<td class="delete" ><a class="delconfirm" title="' . i18n_r('DELETE_FILE') . ': ' . htmlspecialchars($upload['name']) . '" href="deletefile.php?file=' . rawurlencode($upload['name']) . '&amp;path=' . $urlPath . '&amp;nonce=' . get_nonce("delete", "deletefile.php") . '">&times;</a></td>';
        echo '</tr>';
    }
}
exec_action('file-extras');
echo '</table>';
if ($counter > 0) {
    $sizedesc = '(' . fSize($totalsize) . ')';
} else {
    $sizedesc = '';
}
$totalcount = (int) $counter + (int) $foldercount;
echo '<p><em><b><span id="pg_counter">' . $totalcount . '</span></b> ' . i18n_r('TOTAL_FILES') . ' ' . $sizedesc . '</em></p>';
?>
	
开发者ID:hatasu,项目名称:appdroid,代码行数:30,代码来源:upload.php

示例3: get_pages_menu_content

function get_pages_menu_content($parent, $menu, $level)
{
    global $pagesSorted;
    $items = array();
    foreach ($pagesSorted as $page) {
        $items[(string) $page['url']] = $page;
    }
    if (count($items) > 0) {
        foreach ($items as $page) {
            $dash = "";
            if ($page['parent'] != '') {
                $parentdata = getXML(GSDATAPAGESPATH . $page['parent'] . '.xml');
                $parentTitle = $parentdata->parent;
                $dash = "<b>" . $parentTitle . "</b>:" . $page['parent'] . " ";
            }
            $menu .= '<tr id="tr-' . $page['url'] . '" >';
            if ($page['title'] == '') {
                $page['title'] = '[No Title] &nbsp;&raquo;&nbsp; <em>' . $page['url'] . '</em>';
            }
            if ($page['menuStatus'] != '') {
                $page['menuStatus'] = ' <sup>[' . i18n_r('MENUITEM_SUBTITLE') . ']</sup>';
            } else {
                $page['menuStatus'] = '';
            }
            if ($page['private'] != '') {
                $page['private'] = ' <sup>[' . i18n_r('PRIVATE_SUBTITLE') . ']</sup>';
            } else {
                $page['private'] = '';
            }
            if ($page['url'] == 'index') {
                $homepage = ' <sup>[' . i18n_r('HOMEPAGE_SUBTITLE') . ']</sup>';
            } else {
                $homepage = '';
            }
            $menu .= '<td class="pagetitle">' . $dash . '<a title="' . i18n_r('EDITPAGE_TITLE') . ': ' . cl($page['title']) . '" href="cedit.php?id=' . $page['url'] . '" >' . cl($page['title']) . '</a><span class="showstatus toggle" >' . $homepage . $page['menuStatus'] . $page['private'] . '</span></td>';
            $menu .= '<td style="width:80px;text-align:right;" ><span>' . shtDate($page['pubDate']) . '</span></td>';
            $menu .= '<td class="secondarylink" >';
            $menu .= '<a title="' . i18n_r('VIEWPAGE_TITLE') . ': ' . cl($page['title']) . '" target="_blank" href="' . find_url($page['url'], $page['parent']) . '">#</a>';
            $menu .= '</td>';
            if ($page['url'] != 'index') {
                $menu .= '<td class="delete" ><a class="delconfirm" href="cdeletefile.php?id=' . $page['url'] . '&amp;nonce=' . get_nonce("cdelete", "cdeletefile.php") . '" title="' . i18n_r('DELETEPAGE_TITLE') . ': ' . cl($page['title']) . '" >&times;</a></td>';
            } else {
                $menu .= '<td class="delete" ></td>';
            }
            $menu .= '</tr>';
        }
    }
    return $menu;
}
开发者ID:Emmett-Brown,项目名称:linea,代码行数:49,代码来源:template_functions.php

示例4: tsl

		<div class="clear"></div></div>
		<p style="display:none" id="waiting" ><?php 
echo $i18n['CREATE_ARC_WAIT'];
?>
</p>
		<table class="highlight paginate">	
		<?php 
$count = "0";
$path = tsl(GSBACKUPSPATH . 'zip/');
$filenames = getFiles($path);
natsort($filenames);
rsort($filenames);
foreach ($filenames as $file) {
    if ($file != "." && $file != ".." && $file != ".htaccess") {
        $timestamp = explode('_', $file);
        $name = shtDate($timestamp[0]);
        clearstatcache();
        $ss = @stat($path . $file);
        $size = fSize($ss['size']);
        echo '<tr>
							<td><a title="Download Archive ' . $name . '" target="_blank" href="download.php?file=' . $path . $file . '&nonce=' . get_nonce("archive", "download.php") . '">' . $name . '</a></td>
							<td style="width:70px;text-align:right;" ><span>' . $size . '</span></td>
							<td class="delete" ><a class="delconfirm" title="Delete Archive ' . $name . '?" href="deletefile.php?zip=' . $file . '&nonce=' . get_nonce("delete", "deletefile.php") . '">X</a></td>
						  </tr>';
        $count++;
    }
}
?>
		</table>
		<p><em><b><?php 
echo $count;
开发者ID:RobAnt,项目名称:GetSimple-Plugins,代码行数:31,代码来源:archive.php

示例5: subval_sort

            $pagesArray_tmp[$count]['url'] = $data->url;
            $pagesArray_tmp[$count]['date'] = $data->pubDate;
            $count++;
        }
    }
    $pagesSorted = subval_sort($pagesArray_tmp, 'title');
}
if (count($pagesSorted) != 0) {
    foreach ($pagesSorted as $page) {
        $counter++;
        $table .= '<tr id="tr-' . $page['url'] . '" >';
        if ($page['title'] == '') {
            $page['title'] = '[No Title] &nbsp;&raquo;&nbsp; <em>' . $page['url'] . '</em>';
        }
        $table .= '<td class="pagetitle"><a title="' . i18n_r('VIEWPAGE_TITLE') . ' ' . var_out($page['title']) . '" href="backup-edit.php?p=view&amp;id=' . $page['url'] . '">' . cl($page['title']) . '</a></td>';
        $table .= '<td style="width:80px;text-align:right;" ><span>' . shtDate($page['date']) . '</span></td>';
        $table .= '<td class="delete" ><a class="delconfirm" title="' . i18n_r('DELETEPAGE_TITLE') . ' ' . var_out($page['title']) . '?" href="backup-edit.php?p=delete&amp;id=' . $page['url'] . '&amp;nonce=' . get_nonce("delete", "backup-edit.php") . '">&times;</a></td>';
        $table .= '</tr>';
    }
}
get_template('header', cl($SITENAME) . ' &raquo; ' . i18n_r('BAK_MANAGEMENT'));
?>
	
<?php 
include 'template/include-nav.php';
?>

<div class="bodycontent clearfix">
	
	<div id="maincontent">
		<div class="main" >
开发者ID:elephantcode,项目名称:elephantcode,代码行数:31,代码来源:backups.php

示例6: stripslashes

                $title .= $page['url'] . '_' . $lang;
            }
            if (isset($page['variants'][$lang])) {
                $variant =& $page['variants'][$lang];
                if ($variant['title'] == '') {
                    $variant['title'] = '[No Title] &nbsp;&raquo;&nbsp; <em>' . $variant['url'] . '</em>';
                }
                ?>
 
            <td>
              <input type="hidden" name="title" value="<?php 
                echo stripslashes($variant['title']);
                ?>
"/>
              <a title="<?php 
                echo i18n_r('EDITPAGE_TITLE') . ': ' . stripslashes($variant['title']) . ' - ' . shtDate($variant['date']);
                ?>
" href="edit.php?id=<?php 
                echo $variant['url'];
                ?>
" class="title"><?php 
                echo stripslashes($variant['title']);
                ?>
</a>
            </td>
	          <td class="secondarylink">
	            <a title="<?php 
                echo i18n_r('VIEWPAGE_TITLE') . ': ' . stripslashes($variant['title']);
                ?>
" target="_blank" href="<?php 
                echo find_i18n_url($page['url'], $page['parent'], $lang);
开发者ID:Vin985,项目名称:clqweb,代码行数:31,代码来源:pages.php

示例7: DM_PE_getPages

function DM_PE_getPages($parent, $menu, $level)
{
    global $pagesSorted;
    $items = array();
    foreach ($pagesSorted as $page) {
        if ($page['parent'] == $parent) {
            $items[(string) $page['url']] = $page;
        }
    }
    $toggleMenu = get_nonce("menu", "toggle.php");
    $togglePrivate = get_nonce("private", "toggle.php");
    $gsVersion = get_site_version(false);
    if (count($items) > 0) {
        foreach ($items as $page) {
            $dash = "";
            if ($page['parent'] != '') {
                $page['parent'] = $page['parent'] . "/";
            }
            for ($i = 0; $i <= $level - 1; $i++) {
                if ($i != $level - 1) {
                    $dash .= '<span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>';
                } else {
                    $dash .= '<span>&nbsp;&nbsp;&ndash;&nbsp;&nbsp;&nbsp;</span>';
                }
            }
            $delNonce = get_nonce("delete", "deletefile.php");
            $cloneNonce = get_nonce("clone", "pages.php");
            $menuNonce = get_nonce("menu", "toggle.php");
            $privateNonce = get_nonce("private", "toggle.php");
            $menu .= '<tr class="hover" id="tr-' . $page['url'] . '" >';
            if ($page['title'] == '') {
                $page['title'] = '[No Title] &nbsp;&raquo;&nbsp; <em>' . $page['url'] . '</em>';
            }
            if ($page['menuStatus'] != '') {
                $page['menuStatus'] = ' <sup>[' . i18n_r('MENUITEM_SUBTITLE') . ']</sup>';
            } else {
                $page['menuStatus'] = '';
            }
            if ($page['private'] != '') {
                $page['private'] = ' <sup>[' . i18n_r('PRIVATE_SUBTITLE') . ']</sup>';
            } else {
                $page['private'] = '';
            }
            if ($page['url'] == 'index') {
                $homepage = ' <sup>[' . i18n_r('HOMEPAGE_SUBTITLE') . ']</sup>';
            } else {
                $homepage = '';
            }
            $menu .= '<td class="pagetitle">' . $dash . '<a title="' . i18n_r('EDITPAGE_TITLE') . ': ' . cl($page['title']) . '" href="edit.php?id=' . $page['url'] . '" >' . cl($page['title']) . '</a><span class="showstatus toggle" >' . $homepage . $page['menuStatus'] . $page['private'] . '</span></td>';
            $menu .= '<td style="width:80px;text-align:left;" ><span>' . shtDate($page['pubDate']) . '</span></td>';
            $menu .= '<td style="width:24px;text-align:right;" >';
            /**
            			$menu .= '<a href="edit.php?id='.$page['url'].'"><img src="../plugins/DM_PE_pageedit/images/document_edit.gif" title="Edit Page" alt="Edit Page" /></a>&nbsp;'; 
            			$menu .= '<a href="edit.php?parent='.$page['url'].'"><img src="../plugins/DM_PE_pageedit/images/document_right.gif" title="Create Child Page" alt="Create Child Page" /></a>&nbsp;'; 
            			$menu .= '<a href="pages.php?id='.$page['url'].'&action=clone&nonce='.$cloneNonce.'"><img src="../plugins/DM_PE_pageedit/images/documents_duplicate.gif" title="Clone Page" alt="Clone Page" /></a>&nbsp;';
            				 
            			
            			if ($page['menuStatus'] != '' ) {
            				$menu .= '<a href="../plugins/DM_PE_pageedit/toggle.php?func=menu&id='.$page['url'].'&nonce='.$menuNonce.'" class="toggleMenu"><img src="../plugins/DM_PE_pageedit/images/menu.gif" title="Toggle Menu Off" alt="Toggle Menu Off" /></a>&nbsp;'; 	
            			} else {
            				$menu .= '<a href="../plugins/DM_PE_pageedit/toggle.php?func=menu&id='.$page['url'].'&nonce='.$menuNonce.'" class="toggleMenu"><img src="../plugins/DM_PE_pageedit/images/menu_off.gif" title="Toggle Menu On" alt="Toggle Menu On" /></a>&nbsp;'; 					
            			}
            			
            			if ($page['private'] != '' ) {
            				$menu .= '<a href="../plugins/DM_PE_pageedit/toggle.php?func=private&id='.$page['url'].'&nonce='.$privateNonce.'" class="togglePrivate"><img src="../plugins/DM_PE_pageedit/images/security_off.gif" title="Toggle Private On" alt="Toggle Private On" /></a>&nbsp;'; 	
            			} else {
            				$menu .= '<a href="../plugins/DM_PE_pageedit/toggle.php?func=private&id='.$page['url'].'&nonce='.$privateNonce.'" class="togglePrivate"><img src="../plugins/DM_PE_pageedit/images/security.gif" title="Toggle Private Off" alt="Toggle Private Off" /></a>&nbsp;'; 					
            			}
            			$menu .= '<a title="'.i18n_r('VIEWPAGE_TITLE').': '. cl($page['title']) .'" target="_blank" href="'. find_url($page['url'],$page['parent']) .'"><img src="../plugins/DM_PE_pageedit/images/theme.gif" title="View Page" alt="View Page" /></a>&nbsp;'; 					
            			
            			if ($page['url'] != 'index' ) {
            			$menu .= '<a href="deletefile.php?id='.$page['url'].'&nonce='.$delNonce.'"  class="delconfirm" title="Delete Page: '.$page['url'].'"><img src="../plugins/DM_PE_pageedit/images/trash.gif" title="Delete Page" alt="Clone Page" /></a>'; 
            			} else {
            				$menu .= '';
            			}
            			**/
            $menu .= '<div class="dropdown">';
            $menu .= '<img src="images/icon_spacer.gif" alt="" class="sprite icon dropdownIcon ">';
            /*
            $menu .= '<ul class="dropdownmenu">';
            $menu .= '<li id="save-close" ><a href="#" >Save &amp; Close</a></li>';
            $menu .= '<li><a href="pages.php?id=test&amp;action=clone&amp;nonce=16992ac218003b7b85b536aa5523af78468ae4c2" >Clone</a></li>';
            $menu .= '<li id="cancel-updates" class="alertme"><a href="pages.php?cancel" >Cancel</a></li>';
            $menu .= '<li class="alertme" ><a href="deletefile.php?id=test&amp;nonce=b6ed4bcaf21d3a569ca66db6d2a39b9a30b5e8cb" >Delete</a></li>';
            $menu .= '</ul>';
            */
            $menu .= '</div>';
            $menu .= '</td>';
            $menu .= '</tr>';
            $menu = DM_PE_getPages((string) $page['url'], $menu, $level + 1);
        }
    }
    return $menu;
}
开发者ID:n00dles,项目名称:DM_PE_pagedit,代码行数:94,代码来源:DM_PE_pageedit.php

示例8: get_pages_menu

/**
 * Recursive list of pages
 *
 * Returns a recursive list of items for the main page
 *
 * @author Mike
 *
 * @since 3.0
 * @uses $pagesSorted
 *
 * @param string $parent
 * @param string $menu
 * @param int $level
 * 
 * @returns string
 */
function get_pages_menu($parent, $menu, $level)
{
    global $pagesSorted;
    $items = array();
    foreach ($pagesSorted as $page) {
        if ($page['parent'] == $parent) {
            $items[(string) $page['url']] = $page;
        }
    }
    if (count($items) > 0) {
        foreach ($items as $page) {
            $dash = "";
            if ($page['parent'] != '') {
                $page['parent'] = $page['parent'] . "/";
            }
            for ($i = 0; $i <= $level - 1; $i++) {
                if ($i != $level - 1) {
                    $dash .= '<span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>';
                } else {
                    $dash .= '<span>&nbsp;&nbsp;&ndash;&nbsp;&nbsp;&nbsp;</span>';
                }
            }
            $menu .= '<tr id="tr-' . $page['url'] . '" >';
            if ($page['title'] == '') {
                $page['title'] = '[No Title] &nbsp;&raquo;&nbsp; <em>' . $page['url'] . '</em>';
            }
            if ($page['menuStatus'] != '') {
                $page['menuStatus'] = ' <sup>[' . i18n_r('MENUITEM_SUBTITLE') . ']</sup>';
            } else {
                $page['menuStatus'] = '';
            }
            if ($page['private'] != '') {
                $page['private'] = ' <sup>[' . i18n_r('PRIVATE_SUBTITLE') . ']</sup>';
            } else {
                $page['private'] = '';
            }
            if ($page['url'] == 'index') {
                $homepage = ' <sup>[' . i18n_r('HOMEPAGE_SUBTITLE') . ']</sup>';
            } else {
                $homepage = '';
            }
            $menu .= '<td class="pagetitle">' . $dash . '<a title="' . i18n_r('EDITPAGE_TITLE') . ': ' . cl($page['title']) . '" href="edit.php?id=' . $page['url'] . '" >' . cl($page['title']) . '</a><span class="showstatus toggle" >' . $homepage . $page['menuStatus'] . $page['private'] . '</span></td>';
            $menu .= '<td style="width:80px;text-align:right;" ><span>' . shtDate($page['date']) . '</span></td>';
            $menu .= '<td class="secondarylink" >';
            $menu .= '<a title="' . i18n_r('VIEWPAGE_TITLE') . ': ' . cl($page['title']) . '" target="_blank" href="' . find_url($page['url'], $page['parent']) . '">#</a>';
            $menu .= '</td>';
            if ($page['url'] != 'index') {
                $menu .= '<td class="delete" ><a class="delconfirm" href="deletefile.php?id=' . $page['url'] . '&nonce=' . get_nonce("delete", "deletefile.php") . '" title="' . i18n_r('DELETEPAGE_TITLE') . ': ' . cl($page['title']) . '" >X</a></td>';
            } else {
                $menu .= '<td class="delete" ></td>';
            }
            $menu .= '</tr>';
            $menu = get_pages_menu((string) $page['url'], $menu, $level + 1);
        }
    }
    return $menu;
}
开发者ID:kazu2012,项目名称:get-simple-ja,代码行数:73,代码来源:template_functions.php

示例9: bm_admin_panel

function bm_admin_panel()
{
    global $PRETTYURLS, $BMPRETTYURLS;
    $books = bm_get_books(true);
    ?>
  <h3 class="floated"><?php 
    i18n('books_manager/PLUGIN_NAME');
    ?>
</h3>
  
  <div class="edit-nav clearfix">
    <a href="#" id="filter-button" ><?php 
    i18n('FILTER');
    ?>
</a>
    
    <a href="load.php?id=books_manager&edit"><?php 
    i18n('books_manager/NEW_BOOK');
    ?>
</a>
    
    <a href="load.php?id=books_manager&settings"><?php 
    i18n('books_manager/SETTINGS');
    ?>
</a>
    
  </div>
  
  <?php 
    if (!empty($books)) {
        ?>
    <div id="filter-search">
      <form>
        <input type="text" class="text" id="tokens" placeholder="<?php 
        echo lowercase(i18n_r('FILTER'));
        ?>
..." />
        &nbsp;
        <a href="load.php?id=books_manager" class="cancel"><?php 
        i18n('books_manager/CANCEL');
        ?>
</a>
      </form>
    </div>
    <table id="books" class="highlight">
    <tr>

      <th><?php 
        i18n('books_manager/BOOK_TITLE');
        ?>
</th>
      <th style="text-align: right;"><?php 
        i18n('books_manager/DATE');
        ?>
</th>
      <th></th>
      <th></th>
      <th></th>
    </tr>
    <?php 
        foreach ($books as $book) {
            $title = cl($book->title);
            $date = shtDate($book->date);
            $url = bm_get_url('book') . $book->slug;
            ?>
      <tr>
        <td class="booktitle">
           <a href="load.php?id=books_manager&edit=<?php 
            echo $book->slug;
            ?>
" title="<?php 
            i18n('books_manager/EDIT_BOOK');
            ?>
: <?php 
            echo $title;
            ?>
">
            <?php 
            echo $title;
            ?>
          </a>
        </td>
        <td style="text-align: right;">
          <span><?php 
            echo $date;
            ?>
</span>
        </td>
        <td style="width: 20px;text-align: center;">
          <?php 
            if ($book->private == 'Y') {
                echo '<span style="color: #aaa;">P</span>';
            }
            ?>
        </td>
        <td class="secondarylink">

          <a href="<?php 
            echo $url;
            ?>
//.........这里部分代码省略.........
开发者ID:abdelaithadji,项目名称:books_manager,代码行数:101,代码来源:admin.php

示例10: shtDate

</span></td>
<?php 
        if (isset($filePerms) && isset($fileOwner['name'])) {
            ?>
					  <td style="width:70px;text-align:right;"><span><?php 
            echo $fileOwner['name'];
            ?>
/<?php 
            echo $filePerms;
            ?>
</span></td>
<?php 
        }
        ?>
            <td style="width:85px;text-align:right;" ><span><?php 
        echo shtDate($upload['date']);
        ?>
</span></td>
			    </tr>
          <?php 
        if ($debug) {
            echo '<tr><td colspan="4"><pre>' . htmlspecialchars(@$upload['debug']) . '</pre></td></tr>';
        }
    }
}
?>
        </tbody>
      </table>
	    <p><em><b><?php 
echo count($filesSorted);
?>
开发者ID:elephantcode,项目名称:elephantcode,代码行数:31,代码来源:imagebrowser.php


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