コード例 #1
0
ファイル: admin.html.php プロジェクト: eric0614/chanzhieps
        ?>
          </span>
        </td>
        <?php 
    }
    ?>
        <td><?php 
    if ($thread->status != 'wait') {
        echo $thread->hidden ? '<span class="text-warning"><i class="icon-eye-close"></i> ' . $lang->thread->displayList['hidden'] . '</span>' : '<span class="text-success"><i class="icon-ok-sign"></i> ' . $lang->thread->displayList['normal'] . '</span>';
    }
    ?>
</td>
        <td>
          <?php 
    if ($this->config->forum->postReview == 'open' and $thread->status == 'wait') {
        commonmodel::printlink('thread', 'approve', "threadid={$thread->id}&boardid={$thread->board}", $lang->thread->approve, "class='reload'");
    } else {
        echo html::a('javascript:;', $lang->thread->approve, "class='disabled'");
    }
    $text = $thread->hidden ? $lang->thread->show : $lang->thread->hide;
    if ($thread->status != 'wait') {
        commonModel::printLink('thread', 'switchStatus', "threadID={$thread->id}", $text, "class='reload'");
        commonModel::printLink('thread', 'transfer', "threadID={$thread->id}", $lang->thread->transfer, "data-toggle='modal'");
    } else {
        echo html::a('javascript:;', $text, "class='disabled'");
        echo html::a('javascript:;', $lang->thread->transfer, "class='disabled'");
    }
    commonModel::printLink('thread', 'delete', "threadID={$thread->id}", $lang->delete, "class='deleter'");
    commonModel::printLink('guarder', 'addToBlacklist', "type=thread&id={$thread->id}", $lang->addToBlacklist, "data-toggle='modal'");
    ?>
        </td>
コード例 #2
0
ファイル: view.html.php プロジェクト: leowh/colla
/**
 * The view file for the method of view of order module of RanZhi.
 *
 * @copyright   Copyright 2009-2015 青岛易软天创网络科技有限公司(QingDao Nature Easy Soft Network Technology Co,LTD, www.cnezsoft.com)
 * @license     ZPL (http://zpl.pub/page/zplv12.html)
 * @author      Tingting Dai <*****@*****.**>
 * @package     customer 
 * @version     $Id$
 * @link        http://www.ranzhico.com
 */
include '../../common/view/header.html.php';
?>
<ul id='menuTitle'>
  <li><?php 
commonmodel::printLink('order', 'browse', '', "<i class='icon-list-ul'></i> " . $lang->order->list);
?>
</li>
  <li class='divider angle'></li>
  <?php 
$productName = count($order->products) > 1 ? current($order->products)->name . $lang->etc : current($order->products)->name;
?>
  <li class='title'><?php 
printf($lang->order->titleLBL, $customer->name, $productName, date('Y-m-d', strtotime($order->createdDate)));
?>
 <span class='label-primary label'><?php 
echo $customer->level != '0' ? $customer->level : '';
?>
</span> <span class='label-success label'><?php 
echo $lang->order->statusList[$order->status];
?>
コード例 #3
0
ファイル: index.html.php プロジェクト: qiaqiali/chanzhieps
    ?>
    <div class='col-xs-6'>
      <div class='panel'>
        <div class='panel-heading'><strong><?php 
    echo $lang->admin->thread;
    ?>
</strong></div>
        <div class='panel-body'>
          <table class='table table-hover table-condensed'>
          <?php 
    foreach ($newThreads as $thread) {
        ?>
 
          <tr>
            <td><?php 
        echo html::a(commonmodel::createFrontLink('thread', 'view', "threadid={$thread->id}"), $thread->title, "target='_blank'");
        ?>
</td>
            <td><?php 
        echo $thread->author;
        ?>
</td>
            <td><?php 
        echo substr($thread->editedDate, -8);
        ?>
</td>
          </tr>
          <?php 
    }
    ?>
          </table>
コード例 #4
0
ファイル: admin.html.php プロジェクト: wenyinos/chanzhieps
        commonModel::printLink('article', 'setcss', "articleID={$article->id}", $lang->article->css, "data-toggle='modal'");
        ?>
</li>
              <li><?php 
        commonModel::printLink('article', 'setjs', "articleID={$article->id}", $lang->article->js, "data-toggle='modal'");
        ?>
</li>
              <?php 
        if ($type == 'article') {
            ?>
              <li><?php 
            commonmodel::printlink('article', 'forward2blog', "articleid={$article->id}", $lang->article->forward2Blog, "data-toggle='modal'");
            ?>
</li>
              <li><?php 
            commonmodel::printlink('article', 'forward2forum', "articleid={$article->id}", $lang->article->forward2Forum, "data-toggle='modal'");
            ?>
</li>
              <?php 
        }
        ?>
            </ul>
          </span>
        </td>
      </tr>
      <?php 
    }
    ?>
      <?php 
}
?>