0.4.5 Beta not recomended to production servers
[smail.git/.git] / index.php
index 75c315e..b3084f4 100644 (file)
--- a/index.php
+++ b/index.php
@@ -1,9 +1,9 @@
-<!-- {instance:Smail,version:0.2} --->
+<!-- {version:<?php echo file_get_contents('VERSION');?>} --->
 <?php include 'i18n.class.php'; $i18n = new i18n(); $i18n->init();?>
 <html>
     <head>
         <title>SecureMail</title>
-        <link rel='stylesheet' type='text/css' href='css/index.css'>
+        <link rel='stylesheet' type='text/css' href='css/index.css?v=1'>
         <link type='text/css' rel='stylesheet' href='css/all.css?v=1'/>
     </head>
     <body style='margin: 0px;'>
             <h1 style='margin: 0px;'><?php echo L::index_welcome;?></h1>
             <hr>
         </div>
-        <div style='color: white; background: #30303c; padding: 1%;'>
-            <h1 style='margin: 0px;'><?php echo L::index_register;?></h1>
-            <hr>
-            <text><?php echo L::index_register_c;?></text>
-        </div>
-        <div style='color: white; background: #30303c; padding: 1%;'>
+        <div class="sitemap"><a href='map.php'>SiteMap</a> - <a href='map.php'>Login</a> - <a href='map.php'>Register</a> - <a href="https://reisub.nsupdate.info/git/?p=smail.git/">Git</a> - <a href="https://reisub.nsupdate.info/bugs/">Bugs</a></div>
+        <div class="tag">
             <h1 style='margin: 0px;'><?php echo L::index_about;?></h1>
             <hr>
             <text><?php echo L::index_about_c;?></text>
         </div>
-        <div style='color: white; background: #30303c; padding: 1%;'>
-            <h1 style='margin: 0px;'><?php echo L::index_how;?></h1>
-            <hr>
-            <text><?php echo L::index_how_c;?></text>
-        </div>
-        <div style='color: white; background: #30303c; padding: 1%;'>
-            <h1 style='margin: 0px;'><?php echo L::index_where;?></h1>
-            <hr>
-            <text><?php echo L::index_where_c;?></text>
-        </div>
-        <div style='color: white; background: #30303c; padding: 1%;'>
+        <div class="tag">
             <h1 style='margin: 0px;'><?php echo L::index_license;?></h1>
             <hr>
             <text><?php echo L::index_license_c;?></text>