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


PHP MyTextSanitizer::makeTareaData4Show方法代码示例

本文整理汇总了PHP中MyTextSanitizer::makeTareaData4Show方法的典型用法代码示例。如果您正苦于以下问题:PHP MyTextSanitizer::makeTareaData4Show方法的具体用法?PHP MyTextSanitizer::makeTareaData4Show怎么用?PHP MyTextSanitizer::makeTareaData4Show使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在MyTextSanitizer的用法示例。


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

示例1: convertorderbytrans

        $p->set_var('LANG_CURSORTBY', _MD_CURSORTBY);
        $p->set_var('orderbyTrans', $orderbyTrans = convertorderbytrans($orderby));
        $p->parse('sort_menu', 'sortmenu');
    }
    $cssid = 1;
    for ($x = 1; $x <= $numrows; $x++) {
        list($lid, $cid, $dtitle, $url, $homepage, $version, $size, $submitter, $logourl, $status, $time, $hits, $rating, $votes, $comments, $description) = DB_fetchArray($result);
        $rating = number_format($rating, 2);
        $dtitle = $myts->makeTboxData4Show($dtitle);
        $url = $myts->makeTboxData4Show($url);
        $homepage = $myts->makeTboxData4Show($homepage);
        $version = $myts->makeTboxData4Show($version);
        $size = $myts->makeTboxData4Show($size);
        $logourl = $myts->makeTboxData4Show($logourl);
        $datetime = formatTimestamp($time);
        $description = PLG_replaceTags($myts->makeTareaData4Show($description, 0));
        //no html
        $result2 = DB_query("SELECT username,fullname,photo  FROM {$_TABLES['users']} WHERE uid = {$submitter}");
        list($submitter_name, $submitter_fullname, $photo) = DB_fetchARRAY($result2);
        $submitter_name = COM_getDisplayName($submitter, $submitter_name, $submitter_fullname);
        include $_CONF['path'] . 'plugins/filemgmt/include/dlformat.php';
        $p->set_var('cssid', $cssid);
        $p->parse('filelisting_records', 'records', true);
        $cssid = $cssid == 2 ? 1 : 2;
        // Print Google-like paging navigation
        $base_url = $_CONF['site_url'] . '/filemgmt/viewcat.php?cid=' . $cid . '&amp;orderby=' . convertorderbyout($orderby);
        $p->set_var('page_navigation', COM_printPageNavigation($base_url, $page, $numpages));
    }
    $p->parse('output', 'page');
    $display .= $p->finish($p->get_var('output'));
} else {
开发者ID:spacequad,项目名称:glfusion,代码行数:31,代码来源:viewcat.php

示例2: list

 $result = DB_query($sql);
 list($lid, $cid, $dtitle, $url, $homepage, $version, $size, $logourl, $submitter, $status, $time, $hits, $rating, $votes, $comments, $description) = DB_fetchArray($result);
 $pathstring = '<a href="' . $_CONF['site_url'] . '/filemgmt/index.php">' . _MD_MAIN . '</a>&nbsp;:&nbsp;';
 $nicepath = $mytree->getNicePathFromId($cid, "title", "{$_CONF['site_url']}/filemgmt/viewcat.php");
 $pathstring .= $nicepath;
 $p->set_var('category_path_link', $pathstring);
 $rating = number_format($rating, 2);
 $dtitle = $myts->makeTboxData4Show($dtitle);
 $url = $myts->makeTboxData4Show($url);
 $homepage = $myts->makeTboxData4Show($homepage);
 $version = $myts->makeTboxData4Show($version);
 $size = $myts->makeTboxData4Show($size);
 $platform = $myts->makeTboxData4Show($platform);
 $logourl = $myts->makeTboxData4Show($logourl);
 $datetime = formatTimestamp($time);
 $description = $myts->makeTareaData4Show($description, 0);
 //no html
 $result2 = DB_query("SELECT username,fullname,photo FROM {$_TABLES['users']} WHERE uid = {$submitter}");
 list($submitter_name, $submitter_fullname, $photo) = DB_fetchArray($result2);
 $submitter_name = COM_getDisplayName($submitter, $submitter_name, $submitter_fullname);
 include $_CONF['path_html'] . '/filemgmt/include/dlformat.php';
 $p->set_var('cssid', 1);
 $p->parse('filelisting_records', 'records');
 $delete_option = SEC_hasRights('filemgmt.edit');
 $order = '';
 if (isset($_POST['order'])) {
     $order = COM_applyFilter($_POST['order']);
 }
 $mode = '';
 if (isset($_POST['mode'])) {
     $mode = COM_applyFilter($_POST['mode']);
开发者ID:milk54,项目名称:geeklog-japan,代码行数:31,代码来源:index.php

示例3: list

 list($lid, $cid, $dtitle, $url, $homepage, $version, $size, $logourl, $submitter, $status, $time, $hits, $rating, $votes, $comments, $description) = DB_fetchArray($result);
 $display = FM_siteHeader($dtitle);
 $pathstring = "<a href='{$_CONF['site_url']}/filemgmt/index.php'>" . _MD_MAIN . "</a>&nbsp;:&nbsp;";
 $nicepath = $mytree->getNicePathFromId($cid, "title", "{$_CONF['site_url']}/filemgmt/viewcat.php");
 $pathstring .= $nicepath;
 $p->set_var('category_path_link', $pathstring);
 $rating = number_format($rating, 2);
 $dtitle = $myts->makeTboxData4Show($dtitle);
 $url = $myts->makeTboxData4Show($url);
 $homepage = $myts->makeTboxData4Show($homepage);
 $version = $myts->makeTboxData4Show($version);
 $size = $myts->makeTboxData4Show($size);
 $platform = $myts->makeTboxData4Show(isset($platform) ? $platform : '');
 $logourl = $myts->makeTboxData4Show($logourl);
 $datetime = formatTimestamp($time);
 $description = PLG_replaceTags($myts->makeTareaData4Show($description, 0), 'filemgmt', 'description');
 //no html
 $result2 = DB_query("SELECT username,fullname,photo FROM {$_TABLES['users']} WHERE uid = {$submitter}");
 list($submitter_name, $submitter_fullname, $photo) = DB_fetchArray($result2);
 $submitter_name = COM_getDisplayName($submitter, $submitter_name, $submitter_fullname);
 include $_CONF['path'] . 'plugins/filemgmt/include/dlformat.php';
 $p->set_var('cssid', 1);
 $p->parse('filelisting_records', 'records');
 if (SEC_hasRights('filemgmt.edit')) {
     $delete_option = true;
 } else {
     $delete_option = false;
 }
 if (!isset($title)) {
     $title = '';
 }
开发者ID:spacequad,项目名称:glfusion,代码行数:31,代码来源:index.php


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