mirror of
https://github.com/pierre42100/comunic
synced 2025-09-19 13:58:58 +00:00
First commit
This commit is contained in:
21
inc/pages/homeLogout/acceuil-en.html
Executable file
21
inc/pages/homeLogout/acceuil-en.html
Executable file
@@ -0,0 +1,21 @@
|
||||
<p>Between us.</p>
|
||||
<table border="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td> <img src="%URL_SITE%img/user_add.png" alt="" /></td>
|
||||
<td>Create an account now.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> <img src="%URL_SITE%img/search_accounts.png" alt="" /></td>
|
||||
<td>Search your friends.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> <img src="%URL_SITE%img/comments.png" alt="" /></td>
|
||||
<td>Talk with your friends.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> <img src="%URL_SITE%img/lock.png" alt="" /></td>
|
||||
<td>Comunic will respect your private life.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
21
inc/pages/homeLogout/acceuil-fr.html
Executable file
21
inc/pages/homeLogout/acceuil-fr.html
Executable file
@@ -0,0 +1,21 @@
|
||||
<p>Un nouveau moyen de commmunication.</p>
|
||||
<table border="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><div class="img-add-account"></div></td>
|
||||
<td>Créez vous un compte dès maintenant.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><div class="img-search-accounts"></div></td>
|
||||
<td>Cherchez vos amis.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><div class="img-comments"></div></td>
|
||||
<td>Communiquez avec vos amis.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><div class="img-cadenas"></div></td>
|
||||
<td>Comunic s'engage à respecter votre vie privée.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
112
inc/pages/homeLogout/homeLogout.inc.php
Normal file
112
inc/pages/homeLogout/homeLogout.inc.php
Normal file
@@ -0,0 +1,112 @@
|
||||
<?php
|
||||
/**
|
||||
* Home screen when no user is logged in
|
||||
*
|
||||
* @author Pierre HUBERT
|
||||
*/
|
||||
|
||||
isset($_SESSION) OR exit('Invalid call ! - homeLogout.inc.php');
|
||||
|
||||
//On vérifie si il s'agit de Internet Explorer 7
|
||||
//Si c'est le cas, on affiche un message d'incompatibilté
|
||||
if(isset($_SERVER['HTTP_USER_AGENT']))
|
||||
{
|
||||
if(preg_match('/MSIE 7/', $_SERVER['HTTP_USER_AGENT']))
|
||||
{
|
||||
?><table align='center'>
|
||||
<tr>
|
||||
<td>
|
||||
<img src='img/erreur.png' />
|
||||
</td>
|
||||
<td>
|
||||
<p><b><?php echo $lang[24]; ?> :</b> Internet Explorer 7.0 est un navigateur trop ancien pour être encore utilisé.</p>
|
||||
<p>Internet Explorer 7 ne permet pas l'exécution de toutes les fonctionalitées de Comunic. Par exemple, le chat privé pourra ne pas s'ouvrir correctement.</p>
|
||||
<p>Ce navigateur présente d'importantes failles de sécurité pouvant nuire à la sécurité de l'ordinateur.</p>
|
||||
<p>Nous vous recommandons fortement d'installer sur votre ordinateur un nouveau navigateur comme Mozilla Firefox, qui est un navigateur gratuit, moderne et securisé.</p>
|
||||
</td>
|
||||
</tr>
|
||||
</table><?php
|
||||
}
|
||||
|
||||
//On vérifie si il s'agit de Internet Explorer 6
|
||||
//Si c'est le cas, on affiche un message d'incompatibilté
|
||||
if(preg_match('/MSIE 6.0/', $_SERVER['HTTP_USER_AGENT']))
|
||||
{
|
||||
//Fenêtre d'erreur dans ce cas-là
|
||||
?><table align='center'>
|
||||
<tr>
|
||||
<td>
|
||||
<img src='img/exclamation.png' />
|
||||
</td>
|
||||
<td>
|
||||
<p>Le navigateur que vous utilisez (Internet Explorer 6) n'est pas compatible avec Comunic.</p>
|
||||
<p>Nous vous recommandons fortement de mettre à niveau vers un nouveau navigateur tel que Mozilla Firefox accessible à cette adresse : <a href='http://mozilla.org/' title='Site officiel de mozilla'>http://mozilla.org/</a></p>
|
||||
</td>
|
||||
</tr>
|
||||
</table><?php
|
||||
}
|
||||
}
|
||||
|
||||
//Check if we have to show a beta message
|
||||
if ($affichebeta == 1)
|
||||
{
|
||||
//On affiche le message
|
||||
?>
|
||||
<!-- Message 'en beta' -->
|
||||
<div class="ui-state-highlight ui-corner-all" style="margin-top: 20px; padding: 0 .7em;">
|
||||
<p>
|
||||
<span class="ui-icon ui-icon-info" style="float: left; margin-right: .3em;"></span>
|
||||
<strong><?php echo $lang[24]; ?> :</strong> <?php echo $textebeta[$lang['nomlangue_raccourcis']]; ?>
|
||||
</p>
|
||||
</div>
|
||||
<!-- Fin de: Message 'en beta' -->
|
||||
<?php
|
||||
}
|
||||
|
||||
if($affichemessageclassique == 1)
|
||||
{
|
||||
?>
|
||||
<table align='center'>
|
||||
<tr>
|
||||
<td>
|
||||
<img src='img/erreur.png' />
|
||||
</td>
|
||||
<td>
|
||||
<p><b><?php echo $lang[24]; ?> :</b><?php echo corrige_caracteres_speciaux($textecookie[$lang['nomlangue_raccourcis']]); ?></p>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
<!-- Open Graph content -->
|
||||
<meta property="og:title" content="Communiquons.org"/>
|
||||
<meta property ="og:description" content="Découvrez un nouveau moyen de communication respectant la vie privée."/>
|
||||
<meta property="og:image" content="<?php echo path_img_asset("logo_comunic.png"); ?>"/>
|
||||
|
||||
<br />
|
||||
<div class="metro home_contener">
|
||||
<!-- Texte d'acceuil -->
|
||||
<div class="message_page_acceuil_login">
|
||||
<?php echo add_url_site(file_get_contents(__DIR__.'/acceuil-'.$lang['nomlangue_raccourcis'].'.html'), $urlsite); ?>
|
||||
</div>
|
||||
<!-- Fin de: texte d'acceuil -->
|
||||
|
||||
<!-- Boutons d'accès -->
|
||||
<div class="newaccount_page_acceuil_login">
|
||||
<a class="command-button info" href="creercompte.php">
|
||||
<i class="icon-pencil on-left"></i>
|
||||
<small>Créez-vous un compte</small>
|
||||
</a>
|
||||
|
||||
<p class="or">ou</p>
|
||||
|
||||
<a class="command-button success" href="whatiscomunic.php">
|
||||
<i class="icon-arrow-right-3 on-left"></i>
|
||||
<small>Découvrez les fonctionnalités de Comunic</small>
|
||||
</a>
|
||||
</div>
|
||||
<!-- Fin de: Boutons d'accès-->
|
||||
</div>
|
||||
</div>
|
||||
<?php include(pagesRelativePath('common/pageBottom.php'));
|
Reference in New Issue
Block a user