mirror of
https://github.com/kleeja-official/kleeja.git
synced 2025-12-15 20:49:41 +01:00
25 lines
972 B
HTML
Executable File
25 lines
972 B
HTML
Executable File
<div class="BoxInner"><div class="BoxTopImg"></div><div class="BoxBody"><div class="inner">
|
|
|
|
|
|
<div class="language_choose">
|
|
<ul id="LangChoose">
|
|
{{if($dh = @opendir($_path . 'lang')): while (($file = readdir($dh)) !== false): if(strpos($file, '.') === false && $file != '..' && $file != '.'):}}
|
|
<li>
|
|
<a href="{{echo './?step=language&ln=' . $file}}">
|
|
{{if(file_exists('style/images/'.$file.'.png')):}}
|
|
<img src="style/images/{{echo $file}}.png" alt="{{echo $file}}" />
|
|
{{elseif(file_exists('../lang/'.$file.'/icon.png')):}}
|
|
<img src="../lang/{{echo $file}}/icon.png" alt="{{echo $file}}" />
|
|
{{else:}}
|
|
<p style="width: 100px; height: 65px; border: 1px solid #ccc;text-align: center; vertical-align: middle;background-color: #2aabd2;font-size: 20px">
|
|
{{echo $file}}
|
|
</p>
|
|
{{endif;}}
|
|
</a>
|
|
</li>
|
|
{{endif;endwhile;@closedir($dh);endif;}}
|
|
</ul>
|
|
</div>
|
|
|
|
<div class="clr"></div>
|
|
</div></div><div class="BoxBottomImg"></div></div> |