晋太元中,武陵人捕鱼为业。缘溪行,忘路之远近。忽逢桃花林,夹岸数百步,中无杂树,芳草鲜美,落英缤纷。渔人甚异之,复前行,欲穷其林。 林尽水源,便得一山,山有小口,仿佛若有光。便舍船,从口入。初极狭,才通人。复行数十步,豁然开朗。土地平旷,屋舍俨然,有良田、美池、桑竹之属。阡陌交通,鸡犬相闻。其中往来种作,男女衣着,悉如外人。黄发垂髫,并怡然自乐。 见渔人,乃大惊,问所从来。具答之。便要还家,设酒杀鸡作食。村中闻有此人,咸来问讯。自云先世避秦时乱,率妻子邑人来此绝境,不复出焉,遂与外人间隔。问今是何世,乃不知有汉,无论魏晋。此人一一为具言所闻,皆叹惋。余人各复延至其家,皆出酒食。停数日,辞去。此中人语云:“不足为外人道也。”(间隔 一作:隔绝) 既出,得其船,便扶向路,处处志之。及郡下,诣太守,说如此。太守即遣人随其往,寻向所志,遂迷,不复得路。 南阳刘子骥,高尚士也,闻之,欣然规往。未果,寻病终。后遂无问津者。
|
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/public_html/crm/layouts/v7/modules/Reports/ |
Upload File : |
{*+**********************************************************************************
* The contents of this file are subject to the vtiger CRM Public License Version 1.1
* ("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.
************************************************************************************}
{* modules/Reports/views/ExportReport.php *}
{* START YOUR IMPLEMENTATION FROM BELOW. Use {debug} for information *}
<script type="text/javascript" src="libraries/jquery/jquery.min.js"></script>
<!DOCTYPE>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>{'LBL_PRINT_REPORT'|@vtranslate:$MODULE}</title>
{**PVTPATCHER-DE4449BA70AFA3257868B14570CA7FB4-START-theme711**}
{** Don't remove the Start and Finish Markup! Modified: 2020-07-14 11:35:04 **}
<style type="text/css" media="print,screen">
{literal}
{assign var=CURRENT_USER_MODEL value=Users_Record_Model::getCurrentUserModel()}
{if $CURRENT_USER_MODEL->get('language') eq 'fa_ir'}
@import 'modules/ParsVT/resources/styles/rtl.php';
body {
direction: rtl !important;
}
.printReport tbody td{
text-align:right !important;
}
h2 {
text-align:right !important;
}
h3 {
text-align:left !important;
}
{/if}
{/literal}
{** REPLACED-DE4449BA70AFA3257868B14570CA7FB4// <style type="text/css" media="print,screen">**}
{**PVTPATCHER-DE4449BA70AFA3257868B14570CA7FB4-FINISH**}
{literal}
.printReport{
width:100%;
border:1px solid #000000;
border-collapse:collapse;
}
.printReport tbody td{
border:1px dotted #000000;
text-align:left;
}
.printReport thead th{
border-bottom:2px solid #000000;
border-left:1px solid #000000;
border-top:1px solid #000000;
border-right:1px solid #000000;
}
thead {
display:table-header-group;
}
tbody {
display:table-row-group;
}
{/literal}
</style>
</head>
<body marginheight="0" marginwidth="0" leftmargin="0" topmargin="0" style="text-align:center;" onLoad="JavaScript:window.print()">
<table width="80%" border="0" cellpadding="5" cellspacing="0" align="center">
<tr class="reportPrintHeader">
<td align="left" valign="top" style="border:0px solid #000000;">
<h2>{$REPORT_NAME}</h2>
<font color="#666666"><div id="report_info"></div></font>
</td>
<td align="right" style="border:0px solid #000000;" valign="top">
<h3 style="color:#CCCCCC">{$ROW} {'LBL_RECORDS'|@vtranslate:$MODULE}</h3>
</td>
</tr>
<tr>
<td style="border:0px solid #000000;" colspan="2">
<table width="100%" border="0" cellpadding="5" cellspacing="0" align="center" class="printReport reportPrintData" >
{$PRINT_DATA}
</table>
</td>
</tr>
<tr><td colspan="2"> </td></tr>
<tr>
<td colspan="2">
{$TOTAL}
</td>
</tr>
</table>
</body>
<script>
{literal}
jQuery(document).ready(function () {
var splitted = false;
// chrome and safari doesn't support table-header-group option
if (jQuery.browser.webkit) {
function splitTable(table, maxHeight) {
var header = table.children("thead");
if (!header.length)
return;
var headerHeight = header.outerHeight();
var header = header.detach();
var splitIndices = [0];
var rows = table.children("tbody").children();
maxHeight -= headerHeight;
var currHeight = 0;
var reportHeader = jQuery('.reportPrintHeader');
if (reportHeader.length > 0) {
currHeight = reportHeader.outerHeight();
}
rows.each(function (i, row) {
currHeight += $(rows[i]).outerHeight();
if (currHeight > maxHeight) {
splitIndices.push(i);
currHeight = $(rows[i]).outerHeight();
}
});
splitIndices.push(undefined);
table = table.replaceWith('<div id="_split_table_wrapper"></div>');
table.empty();
for (var i = 0; i < splitIndices.length - 1; i++) {
var newTable = table.clone();
header.clone().appendTo(newTable);
$('<tbody />').appendTo(newTable);
rows.slice(splitIndices[i], splitIndices[i + 1]).appendTo(newTable.children('tbody'));
newTable.appendTo("#_split_table_wrapper");
if (splitIndices[i + 1] !== undefined) {
$('<div style="page-break-after: always; margin:0; padding:0; border: none;"></div>').appendTo("#_split_table_wrapper");
}
}
}
if (window.matchMedia) {
var mediaQueryList = window.matchMedia('print');
mediaQueryList.addListener(function (mql) {
if (mql.matches && splitted == 0) {
var height = window.screen.availHeight;
$(function () {
splitTable($(".reportPrintData"), height);
})
splitted = 1;
}
});
}
}
});
{/literal}
</script>
</html>