<commit_before>{include file='user/main.tpl'}

<div id="main">
	<div class="inner">
		<!-- Content Header (Page header) -->
		<section>
			<h1>
				节点列表
			</h1>
		</section>

		<!-- Main content -->
		<section>
			

				<div class="12u 12u$(medium)">
					<h3>注意!</h3>
                    <p>请勿在任何地方公开节点地址！</p>
                    <p>流量比例为0.5即使用1000MB按照500MB流量记录记录结算.</p>
					<p>菜单分两级，点击某个节点名称展开这个节点的方式后，可以点击这个方式查看具体的配置信息。</p>
				</div>
				
				
				<div class="12u 12u$(medium)">
					<h3>FAQ</h3>
					
					<p>流量不会重置，可以通过续命获取流量。</p>

                    <p>每次续命可以获取{$config['checkinMin']}~{$config['checkinMax']}MB流量。</p>
				</div>
				
				<div class="12u 12u$(medium)">
					<h3>节点</h3>

					<div class="box-body">
                    <div class="panel-group" id="accordion" role="tablist" aria-multiselectable="true">
						{foreach $node_prefix as $prefix => $nodes}
						  <div class="panel panel-default">
							<div class="panel-heading" role="tab" id="heading{$node_order->$prefix}">
							  <h4 class="panel-title">
								{if $node_heartbeat[$prefix]=="在线"}
								<i class="fa fa-cloud-upload text-success"></i><a role="button" data-toggle="collapse" href="#collapse{$node_order->$prefix}" aria-expanded="false" aria-controls="collapse{$node_order->$prefix}">
									{$prefix} | <i class="fa fa-user"></i> {$node_alive[$prefix]} | <i class="fa fa-wrench"></i> {$node_method[$prefix]} | <i class="fa fa-arrows"></i> {$node_bandwidth[$prefix]}
								</a>
								
								{else}
								<i class="fa fa-exclamation-triangle text-danger"></i><a role="button" data-toggle="collapse" href="#collapse{$node_order->$prefix}" aria-expanded="false" aria-controls="collapse{$node_order->$prefix}">
									{$prefix} | <i class="fa fa-user"></i> {$node_alive[$prefix]} | <i class="fa fa-wrench"></i> {$node_method[$prefix]} | <i class="fa fa-arrows"></i> {$node_bandwidth[$prefix]}
								</a>
								
								{/if}
							  </h4>
							</div>
							<div id="collapse{$node_order->$prefix}" class="panel-collapse collapse" role="tabpanel" aria-labelledby="heading{$node_order->$prefix}">
							  <div class="panel-body">
							{foreach $nodes as $node}
								<div class="row">
									<div class="col-sm-12">
										<div class="info-box">

											<div class="info-box-content">
												<div class=row>
													<div class="col-sm-6">
														<div class="info-box-number" >
															<a href="./node/{$node->id}">{$node->name}</a> <span
																		class="label label-success">{$node->status}</span>
														</div>

														<div class="info-box-text row">
															<div class="col-xs-4 col-sm-2">地址：</div>
															{if $node->sort > 2 && $node->sort != 5}
																<div class="col-xs-8 col-sm-4"><a href="./node/{$node->id}"><span
																			class="label text-lowercase label-primary" >请点这里进入查看详细信息</span></a>
																</div>
															{else}
																<div class="col-xs-8 col-sm-4"><span
																			class="label text-lowercase label-primary">{$node->server}</span>
																</div>

															{/if}
															
															{if $node->sort == 0}
															<div class="col-xs-4 col-sm-2">加密：</div>
															<div class="col-xs-8 col-sm-4">
															<span class="label label-danger">
																{if $node->custom_method == 1}
																	{$user->method}
																{else}
																	{$node->method}
																{/if}
															</span>

															</div>
															<div class="col-xs-4 col-sm-2">流量比例：</div>
															<div class="col-xs-8 col-sm-4"><span
																		class="label label-warning">{$node->traffic_rate}</span>
															</div>



															<div class="col-xs-4 col-sm-2">在线人数：</div>
															<div class="col-xs-8 col-sm-4"><span
																		class="label label-danger">{$node_prealive[$node->id]}</span>
															</div>
															{/if}
															
															<div class="col-xs-4 col-sm-2">负载：</div>
															<div class="col-xs-8 col-sm-4"><span
																		class="label label-danger">{$node->getNodeLoad()}</span>
															</div>

															<div class="col-xs-4 col-sm-2">Uptime：</div>
															<div class="col-xs-8 col-sm-4"><span
																		class="label label-warning">{$node->getNodeUptime()}</span>
															</div>

															{if $node->sort==0&&$node->node_speedlimit!=0}
															<div class="col-xs-4 col-sm-2">节点限速：</div>
															<div class="col-xs-8 col-sm-4">
																{if $node->node_speedlimit>$user->node_speedlimit}
																	<span class="label label-primary">{$node->node_speedlimit}Mbps</span>
																{else}
																	<span class="label label-primary">{$user->node_speedlimit}Mbps</span>
																{/if}
															
															</div>
															{/if}
															





														</div>









													</div>
													<div class="col-sm-6">
														{$node->info}
													</div>
												</div>


											</div>
											<!-- /.info-box-content -->
										</div>
										<!-- /.info-box -->
									</div>
								</div>
								{if $node->sort==0}
								{$load=$node->getNodeLoad()}
								{$uptime=$node->getNodeUptime()}
								{/if}
                        {/foreach}
						<i class="fa fa-server"></i>负载：{$load} <i class="fa fa-upload" aria-hidden="true"></i>Uptime：{$uptime}
						</div>
						</div>
					  </div>
					{/foreach}
					  
					  
					  
					</div>
					</div><commit_msg>phantom updates<commit_after>{include file='user/main.tpl'}

<div id="main">
	<div class="inner">
		<!-- Content Header (Page header) -->
		<section>
			<h1>
				节点列表
			</h1>
		</section>

		<!-- Main content -->
		<section>
			

				<div class="12u 12u$(medium)">
					<h3>注意!</h3>
                    <p>请勿在任何地方公开节点地址！</p>
                    <p>流量比例为0.5即使用1000MB按照500MB流量记录记录结算.</p>
					<p>菜单分两级，点击某个节点名称展开这个节点的方式后，可以点击这个方式查看具体的配置信息。</p>
				</div>
				
				
				<div class="12u 12u$(medium)">
					<h3>FAQ</h3>
					
					<p>流量不会重置，可以通过续命获取流量。</p>

                    <p>每次续命可以获取{$config['checkinMin']}~{$config['checkinMax']}MB流量。</p>
				</div>
				
				<div class="12u 12u$(medium)">
					<h3>节点</h3>

					<div class="box-body">
                    <div class="panel-group" id="accordion" role="tablist" aria-multiselectable="true">
						{foreach $node_prefix as $prefix => $nodes}
						  <div class="panel panel-default">
							<div class="panel-heading" role="tab" id="heading{$node_order->$prefix}">
							  <h4 class="panel-title">
								{if $node_heartbeat[$prefix]=="在线"}
								<i class="fa fa-cloud-upload text-success"></i><a role="button" data-toggle="collapse" href="#collapse{$node_order->$prefix}" aria-expanded="false" aria-controls="collapse{$node_order->$prefix}">
									{$prefix} | <i class="fa fa-user"></i> {$node_alive[$prefix]} | <i class="fa fa-wrench"></i> {$node_method[$prefix]} | <i class="fa fa-arrows"></i> {$node_bandwidth[$prefix]}
								</a>
								
								{else}
								<i class="fa fa-exclamation-triangle text-danger"></i><a role="button" data-toggle="collapse" href="#collapse{$node_order->$prefix}" aria-expanded="false" aria-controls="collapse{$node_order->$prefix}">
									{$prefix} | <i class="fa fa-user"></i> {$node_alive[$prefix]} | <i class="fa fa-wrench"></i> {$node_method[$prefix]} | <i class="fa fa-arrows"></i> {$node_bandwidth[$prefix]}
								</a>
								
								{/if}
							  </h4>
							</div>
							<div id="collapse{$node_order->$prefix}" class="panel-collapse collapse" role="tabpanel" aria-labelledby="heading{$node_order->$prefix}">
							  <div class="panel-body">
							{foreach $nodes as $node}
								<div class="row">
									<div class="col-sm-12">
										<div class="info-box">

											<div class="info-box-content">
												<div class=row>
													<div class="col-sm-6">
														<div class="info-box-number" >
															<a href="./node/{$node->id}">{$node->name}</a> <span
																		class="label label-success">{$node->status}</span>
														</div>

														<div class="info-box-text row">
															<div class="col-xs-4 col-sm-2">地址：</div>
															{if $node->sort > 2 && $node->sort != 5}
																<div class="col-xs-8 col-sm-4"><a href="./node/{$node->id}"><span
																			class="label text-lowercase label-primary" >请点这里进入查看详细信息</span></a>
																</div>
															{else}
																<div class="col-xs-8 col-sm-4"><span
																			class="label text-lowercase label-primary">{$node->server}</span>
																</div>

															{/if}
															
															{if $node->sort == 0}
															<div class="col-xs-4 col-sm-2">加密：</div>
															<div class="col-xs-8 col-sm-4">
															<span class="label label-danger">
																{if $node->custom_method == 1}
																	{$user->method}
																{else}
																	{$node->method}
																{/if}
															</span>

															</div>
															<div class="col-xs-4 col-sm-2">流量比例：</div>
															<div class="col-xs-8 col-sm-4"><span
																		class="label label-warning">{$node->traffic_rate}</span>
															</div>



															<div class="col-xs-4 col-sm-2">在线人数：</div>
															<div class="col-xs-8 col-sm-4"><span
																		class="label label-danger">{$node_prealive[$node->id]}</span>
															</div>
															{/if}
															
															

															{if $node->sort==0&&$node->node_speedlimit!=0}
															<div class="col-xs-4 col-sm-2">节点限速：</div>
															<div class="col-xs-8 col-sm-4">
																{if $node->node_speedlimit>$user->node_speedlimit}
																	<span class="label label-primary">{$node->node_speedlimit}Mbps</span>
																{else}
																	<span class="label label-primary">{$user->node_speedlimit}Mbps</span>
																{/if}
															
															</div>
															{/if}
															





														</div>









													</div>
													<div class="col-sm-6">
														{$node->info}
													</div>
												</div>
												<hr>

											</div>
											<!-- /.info-box-content -->
										</div>
										<!-- /.info-box -->
									</div>
								</div>
								{if $node->sort==0}
								{$load=$node->getNodeLoad()}
								{$uptime=$node->getNodeUptime()}
								{/if}
                        {/foreach}
						<i class="fa fa-server"></i>负载：{$load} <i class="fa fa-upload" aria-hidden="true"></i>Uptime：{$uptime}
						</div>
						</div>
					  </div>
					{/foreach}
					  
					  
					  
					</div>
					</div>
{'fraction_non_alphanumeric': 0.19307933002024663, 'fraction_numerical': 0.01251610528253267, 'mean_word_length': 1.6229785179821385, 'pattern_counts': {'":': 0, '<': 276, '<?xml version=': 0, '>': 344, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1441795', 'n_tokens_mistral': 6216, 'n_tokens_neox': 3857, 'n_words': 545}