Add cozu preview

This commit is contained in:
José Luis Garrido Labrador
2017-10-27 09:28:06 +02:00
parent 00f7248a5b
commit 196f9b044d
3 changed files with 8 additions and 2 deletions

View File

@@ -27,6 +27,12 @@
{% if page.otherV %}
<div style='text-align: center; font-size: 22px; '><a href='?page=code&id={{ code.idc }}&lang={{ code.lang }}'>View version's history</a></div>
{% endif %}
<div id='QOZU_box'>Se necesita tener JavaScript habilitado para poder ver los comentarios de la web.</div>
<script type="text/javascript">
var webpageid = 6; /* Webpage id, in all your website,the same */
var uniqueid = 0; /* Post/url id, every site you want different comments, an unique ID, 0 as default */
</script>
<script src="http://qozu.jkanetwork.com/comments.js"></script>
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12" style="text-align:center;"><h3>Other implementations</h3>
</div>
{% if page.otherI %}

View File

@@ -1,4 +1,4 @@
<header>
<h2><a href="index.php" style="color: #333">CodeShare<sup>Beta</sup></a></h2>
<h2><a href="index.php" style="color: #333">CodeShare</a></h2>
<h4>Simple solutions for common problems</h4>
</header>

View File

@@ -150,7 +150,7 @@ function doc(){
function add(){
global $twig,$path,$user,$supported;
if(isset($user['IDU'])){
if(!isset($user['IDU'])){
header("Location: ?page=login");
}
if(isset($_POST['name'])){