PHPIndex

This page lists files in the current directory. You can view content, get download/execute commands for Wget, Curl, or PowerShell, or filter the list using wildcards (e.g., `*.sh`).

email.html
wget 'https://sme10.lists2.roe3.org/kodbox/app/template/user/email.html'
View Content
<style>
	.kod-email-content table{border: 1px solid rgba(150,150,150,0.2);border-collapse:collapse;width:100%;}
	.kod-email-content table thead{background:rgba(150,150,150, 0.1);font-weight:600;}
	.kod-email-content table td,table th{border: 1px solid rgba(150,150,150,0.4);word-break:break-all;padding: 2px 8px;}
</style>

<div class="kod-email-content">
	<div style="margin:10px auto 20px;border-radius:5px;background:#fff; box-shadow:0 0 10px #b1b1b1; text-align:left;">
		<div style="margin:0 40px; color:#999; border-bottom:1px dotted #DDD; padding:40px 0 30px; font-size:13px; text-align:center;">
			<a href="<?php echo $GLOBALS['config']['pluginHome'];?>" style="text-decoration:none;display:inline-flex;">
				<img src="<?php echo $data['system']['icon']; ?>" style="width:64px;height:64px;">
				<span style="line-height:24px; margin-left:15px; height:64px; overflow:hidden; text-align:left; max-width: 360px;">
					<span style="color:#555; font-size:20px; margin-top:12px; display:inline-block;">
						<?php echo $data['system']['name']; ?></span><br/>
					<span style="color:#999"><?php echo $data['system']['desc']; ?></span>
				</span>
			</a>
		</div>
		
		<div style="padding:30px 40px 40px; min-height:280px;">
			<p style="margin:0px; margin-bottom:20px;"><?php echo $data['dear']; ?></p>
			<?php if($data['type'] == 'code') { ?>
				<p style="margin:0px;"><?php echo $data['text']; ?></p>
				<p style="margin:0px; text-align:center; margin-top:40px;">
					<span style="padding:8px 16px;border-radius:3px;text-align:center;text-decoration:none;background-color:#ecf4fb;color:#1890ff;font-size:18px; font-weight:700; letter-spacing:2px; margin:0;white-space:nowrap;display:inline-block;"><?php echo $data['code'];?></span>
				</p>
			<?php 
				} else if ($data['type'] == 'notice') {
					foreach($data['text'] as $line) {
						if(strstr($line,'<')){echo $line;continue;}
						echo '<p style="margin:0px;">'.$line.'</p>';
					}
				} 
			?>
		</div>

		<div style="padding:20px 40px 40px;">
			<p><?php echo $data['system']['name']; ?></p>
			<p><?php echo $data['date']; ?></p>
		</div>
	</div>
</div>
index.html
wget 'https://sme10.lists2.roe3.org/kodbox/app/template/user/index.html'
View Content
<!DOCTYPE html>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
	<meta http-equiv="Cache-Control" content="no-transform" />
	<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover, shrink-to-fit=no" />
	<meta name="renderer" content="webkit">
	<meta name="format-detection" content="telephone=no" />
	<meta name="format-detection" content="email=no" />

	<meta name="description" itemprop="description" content="<?php echo LNG('common.copyright.desc');?>" />
	<meta name="keywords" content="<?php echo LNG('common.copyright.metaKeywords');?>" />
	<meta name="generator" content="<?php echo LNG('common.copyright.metaName').' '.KOD_VERSION;?>"/>
	<meta name="author" content="<?php echo LNG('common.copyright.name');?>" />
	<meta name="copyright" content="<?php echo LNG('common.copyright.name');?>" />
	<title><?php echo LNG('title').LNG('common.copyright.name')." - ".LNG('common.copyright.powerBy');?></title>
	
	<link href="<?php echo APP_HOST;?>index.php?user/view/manifest" rel="manifest" />
	<meta itemprop="image" content="<?php linkHref(LNG('common.iconApp'));?>" />
	<link head-type='kod' href="<?php linkHref(LNG('common.iconApp'));?>" rel="apple-touch-icon"/>
	<link head-type='kod' href="<?php linkHref(LNG('common.iconFav'));?>" rel="Shortcut Icon" type="image/x-icon" />
	<link head-type='kod' href="<?php linkHref(LNG('common.iconFav'));?>" rel="icon" type="image/x-icon" />
	
	<!-- <meta name="theme-color" content="#1b6de1" /> -->
	<meta name="apple-touch-fullscreen" content="yes" />
	<meta name="apple-mobile-web-app-capable" content="yes" />
	<meta name="apple-mobile-web-app-status-bar-style" content="default" />
	<meta name="apple-mobile-web-app-title" content="<?php echo LNG('common.copyright.metaName');?>" />
	<meta name="mobile-web-app-capable" content="yes">
	<meta name="browsermode" content="application" />
	<meta name="full-screen" content="yes" />
	<meta name="x5-page-mode" content="app" />
	<meta name="x5-fullscreen" content="true" />
	<?php Hook::trigger('templateCommonHeader');?>
</head>

<body>
	<?php Hook::trigger('templateCommonContent');?>
	<div id="app"></div>
	<style>
		.bg-black{background:#333;}
		.loading-body div{
			position:fixed;margin:auto;left:0;top:0;right:0;bottom:0;max-width:64px;
			max-height:64px;width:64px;border-radius:4px;opacity:0.8;background-size: contain;
			background-image:url("<?php linkHref('images/common/loading-page.gif');?>");
		}
		.bg-black .loading-body div,.dark-mode .loading-body div{
			width:36px;height:36px;
			background-image:url("<?php linkHref('images/common/loading-pin3-dark.gif');?>");
		}
	</style>
	
	<div class="loading-body"><div></div></div>
	<script type="text/javascript">
		(function(){// 自适应url,反向代理未设置header情况兼容;
			var a 		= document.createElement("a");a.href = window.location.href;
			var urlPath = a.pathname.replace(/^([^\/])/, "/$1").replace('/index.php','/');
			var host 	= a.protocol.replace(":", "") + "://" + a.hostname + (a.port ? ':' + a.port : '');
			if(host + urlPath == '<?php echo APP_HOST;?>'){return;}
			
			var cookieKey = 'KOD_HOST_'+'<?php echo KOD_SITE_ID;?>'
			var date = new Date((new Date()).getTime() + 90*3600*24*1000);
			document.cookie = cookieKey+'='+host+'/; expires='+date.toGMTString()+';';
			console.warn("Site host not match HOST",[cookieKey,host + urlPath,'<?php echo APP_HOST;?>']);
		})();
		
		window.API_HOST = "<?php echo appHostGet();?>";
		window.STATIC_PATH = "<?php echo STATIC_PATH;?>";
		try{navigator.serviceWorker && navigator.serviceWorker.register('<?php echo APP_HOST;?>?user/view/manifestJS');}catch(err){}
		if(!navigator.mimeTypes) navigator.mimeTypes = {};
		var isDark = window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches;
		var theTheme = "<?php echo Model('userOption')->get('theme');?>";
		var darkMode = theTheme == 'dark-mode' ? true: (theTheme == 'auto' && isDark); 
		if(darkMode){document.getElementsByTagName('body')[0].setAttribute("class","bg-black");}
	</script>
	
	<link href="<?php linkHref('style/lib/main.css');?>" rel="stylesheet" />
	<link href="<?php linkHref('style/dist/main.css');?>" rel='stylesheet' />
	<script src="<?php linkHref('app/vender/es3-profill.js');?>"></script>
	<script src="<?php linkHref('app/dist/vendor.js');?>"></script>
	<script src="<?php linkHref('app/dist/main.js');?>"></script>
	<?php Hook::trigger('templateCommonFooter');?>
</body>
</html>
manifest.json
wget 'https://sme10.lists2.roe3.org/kodbox/app/template/user/manifest.json'
View Content
{
    "name": "{{name}}",
    "short_name": "{{name}}",
    "description": "{{appDesc}}",
    "icons": [
        {
            "src": "{{static}}images/icon/icon_192.png",
            "sizes": "192x192",
            "type": "image/png"
        },
        {
            "src": "{{static}}images/icon/icon_512.png",
            "sizes": "512x512",
            "type": "image/png"
        }
    ],
    "start_url": "./#",
    "scope": "./",
    "display": "standalone",
    "orientation": "portrait",
    "background_color": "#F3F3F3",
    "theme_color": "#F6F6F6",
    "related_applications": [],
    "prefer_related_applications": false
}