Upload
This commit is contained in:
42 files changed
+4036
No files matched your search
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
/*-----------------------------------------------------------------------------
|
||||
|
||||
orblog - Simple blog for hidden networks.
|
||||
|
||||
Version: 0.1
|
||||
Git: https://git.runx.zip/chicory/orblog-legacy
|
||||
Copyright: chicory@runx.zip 2020
|
||||
License: http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
-----------------------------------------------------------------------------*/
|
||||
?>
|
||||
<div class="title">
|
||||
<div class="title_tab">
|
||||
<?=$_LANG['error_404']?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
<div class="content">
|
||||
<?=$_LANG['error_404_text']?>
|
||||
@@ -0,0 +1,24 @@
|
||||
<?php
|
||||
/*-----------------------------------------------------------------------------
|
||||
|
||||
orblog - Simple blog for hidden networks.
|
||||
|
||||
Version: 0.1
|
||||
Git: https://git.runx.zip/chicory/orblog-legacy
|
||||
Copyright: chicory@runx.zip 2020
|
||||
License: http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
-----------------------------------------------------------------------------*/
|
||||
?>
|
||||
<h1><?=$_LANG['add_post']?></h1>
|
||||
<form action="index.php?view=admin&action=add_post" method="post">
|
||||
<input type="text" name="title" class="editor" placeholder="<?=$_LANG['post_title']?>">
|
||||
<select name="category" class="editor">
|
||||
<option value="0"><?=$_LANG['without_cat']?></option>
|
||||
<?=$_TPL['category_select']?>
|
||||
</select>
|
||||
<textarea name="desc" class="editor" rows="5" placeholder="<?=$_LANG['post_desc']?>"></textarea>
|
||||
<textarea name="text" class="editor" rows="20" placeholder="<?=$_LANG['post_text']?>"></textarea>
|
||||
<input type="text" name="tags" class="editor" placeholder="<?=$_LANG['post_tags']?>">
|
||||
<input type="submit" class="button" value="<?=$_LANG['submit']?>">
|
||||
</form>
|
||||
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
/*-----------------------------------------------------------------------------
|
||||
|
||||
orblog - Simple blog for hidden networks.
|
||||
|
||||
Version: 0.1
|
||||
Git: https://git.runx.zip/chicory/orblog-legacy
|
||||
Copyright: chicory@runx.zip 2020
|
||||
License: http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
-----------------------------------------------------------------------------*/
|
||||
?>
|
||||
<div class="title">
|
||||
<div class="title_tab">
|
||||
<?=$_LANG['admin']?>
|
||||
</div>
|
||||
<div class="title_etc">
|
||||
<a href="index.php?view=admin&auth=sign_out"><?=$_LANG['sign_out']?></a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
<div class="content">
|
||||
<div class="center">
|
||||
<a href="index.php?view=admin&page=add_post"><?=$_LANG['add_post']?></a> |
|
||||
<a href="index.php?view=admin&page=categories"><?=$_LANG['categories']?></a> |
|
||||
<a href="index.php?view=admin&page=comments"><?=$_LANG['comments']?></a>
|
||||
</div>
|
||||
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
/*-----------------------------------------------------------------------------
|
||||
|
||||
orblog - Simple blog for hidden networks.
|
||||
|
||||
Version: 0.1
|
||||
Git: https://git.runx.zip/chicory/orblog-legacy
|
||||
Copyright: chicory@runx.zip 2020
|
||||
License: http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
-----------------------------------------------------------------------------*/
|
||||
?>
|
||||
<h1><?=$_LANG['stats']?></h1>
|
||||
<ul>
|
||||
<li><?=$_LANG['all_posts_count']?> : <?=$_TPL['posts']?></li>
|
||||
<li><?=$_LANG['all_comm_count']?> : <?=$_TPL['comments']?></li>
|
||||
</ul>
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
/*-----------------------------------------------------------------------------
|
||||
|
||||
orblog - Simple blog for hidden networks.
|
||||
|
||||
Version: 0.1
|
||||
Git: https://git.runx.zip/chicory/orblog-legacy
|
||||
Copyright: chicory@runx.zip 2020
|
||||
License: http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
-----------------------------------------------------------------------------*/
|
||||
?>
|
||||
<div class="clear"></div>
|
||||
<br>
|
||||
<div class="title">
|
||||
<div class="title_tab">
|
||||
<?=$_LANG['add_category']?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="content">
|
||||
<form action="index.php?view=admin&action=add_category" method="post">
|
||||
<input type="text" class="editor" name="sort" placeholder="<?=$_LANG['sort_category']?>">
|
||||
<input type="text" class="editor" name="name" placeholder="<?=$_LANG['category_name']?>">
|
||||
<input type="submit" class="button" value="<?=$_LANG['submit']?>">
|
||||
</form>
|
||||
</div>
|
||||
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
/*-----------------------------------------------------------------------------
|
||||
|
||||
orblog - Simple blog for hidden networks.
|
||||
|
||||
Version: 0.1
|
||||
Git: https://git.runx.zip/chicory/orblog-legacy
|
||||
Copyright: chicory@runx.zip 2020
|
||||
License: http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
-----------------------------------------------------------------------------*/
|
||||
?>
|
||||
<h1><?=$_LANG['categories']?></h1>
|
||||
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
/*-----------------------------------------------------------------------------
|
||||
|
||||
orblog - Simple blog for hidden networks.
|
||||
|
||||
Version: 0.1
|
||||
Git: https://git.runx.zip/chicory/orblog-legacy
|
||||
Copyright: chicory@runx.zip 2020
|
||||
License: http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
-----------------------------------------------------------------------------*/
|
||||
?>
|
||||
<div class="title">
|
||||
<div class="title_tab">
|
||||
<?=$_TPL['time']?>
|
||||
</div>
|
||||
<div class="title_etc">
|
||||
<?php if(!$_TPL['admin']) { ?>
|
||||
<?=$_LANG['by_guest']?>
|
||||
<?php }else{ ?>
|
||||
<?=$_LANG['by_admin']?>
|
||||
<?php } ?>
|
||||
<?php if($_TPL['post_id']) { ?>
|
||||
[ <a href="index.php?view=post&id=<?=$_TPL['post_id']?>"><?=$_LANG['goto_post']?></a> ]
|
||||
<?php } ?>
|
||||
<?php if($_SESSION['admin']) { ?>
|
||||
[ <a href="index.php?view=admin&page=comments&action=delete_comment&id=<?=$_TPL['cid']?>&post=<?=$_TPL['pid']?>"><?=$_LANG['delete']?></a> ]
|
||||
<?php } ?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
<div class="comment_content">
|
||||
<?=$_TPL['text']?>
|
||||
</div>
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
<?php
|
||||
/*-----------------------------------------------------------------------------
|
||||
|
||||
orblog - Simple blog for hidden networks.
|
||||
|
||||
Version: 0.1
|
||||
Git: https://git.runx.zip/chicory/orblog-legacy
|
||||
Copyright: chicory@runx.zip 2020
|
||||
License: http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
-----------------------------------------------------------------------------*/
|
||||
?>
|
||||
<h1 id="add"><?=$_LANG['add_comment']?></h1>
|
||||
<?php if($_TPL['error']) { ?>
|
||||
<div class="error">
|
||||
<?=$_TPL['error']?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<form action="index.php?view=post&id=<?=$_TPL['id']?>&action=add_comment" method="post">
|
||||
<textarea name="text" class="editor" rows="4" placeholder="<?=$_LANG['comment_text']?>"></textarea>
|
||||
<img src="captcha.php" alt="captcha" class="captcha"><br>
|
||||
<input type="text" name="captcha" class="editor" placeholder="<?=$_LANG['input_captcha']?>">
|
||||
<input type="submit" class="button" value="<?=$_LANG['submit']?>">
|
||||
</form>
|
||||
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
/*-----------------------------------------------------------------------------
|
||||
|
||||
orblog - Simple blog for hidden networks.
|
||||
|
||||
Version: 0.1
|
||||
Git: https://git.runx.zip/chicory/orblog-legacy
|
||||
Copyright: chicory@runx.zip 2020
|
||||
License: http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
-----------------------------------------------------------------------------*/
|
||||
?>
|
||||
<h1><?=$_LANG['comments']?></h1>
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
/*-----------------------------------------------------------------------------
|
||||
|
||||
orblog - Simple blog for hidden networks.
|
||||
|
||||
Version: 0.1
|
||||
Git: https://git.runx.zip/chicory/orblog-legacy
|
||||
Copyright: chicory@runx.zip 2020
|
||||
License: http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
-----------------------------------------------------------------------------*/
|
||||
?>
|
||||
<form action="index.php?view=admin&action=edit_category&id=<?=$_TPL['id']?>" method="post">
|
||||
<input type="text" class="editor input_id" name="sort" placeholder="ID" value="<?=$_TPL['sort']?>">
|
||||
<input type="text" class="editor input_name" name="name" placeholder="<?=$_LANG['category_name']?>" value="<?=$_TPL['name']?>">
|
||||
<input type="submit" class="button editor input_button" value="⟳">
|
||||
<input type="submit" class="button editor input_button" value="✕" name="delete">
|
||||
</form>
|
||||
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
/*-----------------------------------------------------------------------------
|
||||
|
||||
orblog - Simple blog for hidden networks.
|
||||
|
||||
Version: 0.1
|
||||
Git: https://git.runx.zip/chicory/orblog-legacy
|
||||
Copyright: chicory@runx.zip 2020
|
||||
License: http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
-----------------------------------------------------------------------------*/
|
||||
?>
|
||||
<h1><?=$_LANG['edit_post']?></h1>
|
||||
<form action="index.php?view=admin&action=edit_post&post=<?=$_TPL['id']?>" method="post">
|
||||
<input type="text" name="title" class="editor" value="<?=$_TPL['title']?>">
|
||||
<select name="category" class="editor">
|
||||
<option value=" <?=$_TPL['category']?>"><?=$_TPL['category_name']?></option>
|
||||
<option value="0"></option>
|
||||
<?=$_TPL['category_select']?>
|
||||
<option value="0"><?=$_LANG['without_cat']?></option>
|
||||
</select>
|
||||
<textarea name="desc" class="editor" rows="5"><?=$_TPL['desc']?></textarea>
|
||||
<textarea name="text" class="editor" rows="20"><?=$_TPL['text']?></textarea>
|
||||
<input type="text" name="tags" class="editor" value="<?=$_TPL['tags']?>">
|
||||
<input type="submit" class="button" value="<?=$_LANG['submit']?>" style="float:left">
|
||||
</form>
|
||||
<a href="index.php?view=admin&action=delete_post&id=<?=$_TPL['id']?>" class="title_etc"><?=$_LANG['delete']?></a>
|
||||
@@ -0,0 +1,48 @@
|
||||
<?php
|
||||
/*-----------------------------------------------------------------------------
|
||||
|
||||
orblog - Simple blog for hidden networks.
|
||||
|
||||
Version: 0.1
|
||||
Git: https://git.runx.zip/chicory/orblog-legacy
|
||||
Copyright: chicory@runx.zip 2020
|
||||
License: http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
-----------------------------------------------------------------------------*/
|
||||
?>
|
||||
</div>
|
||||
</section>
|
||||
<section class="sidebar">
|
||||
<div class="title">
|
||||
<div class="title_tab">
|
||||
<?=$_LANG['categories']?>
|
||||
</div>
|
||||
<div class="title_etc">
|
||||
<a href="index.php?view=rss">RSS</a>
|
||||
<?php if($_SESSION['admin']) { ?>
|
||||
[ <a href="index.php?view=admin"><?=$_LANG['admin']?></a> ]
|
||||
<?php } ?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
<nav class="categories">
|
||||
<?=$_TPL['category_list']?>
|
||||
|
||||
<a href="index.php?category=0"><?=$_LANG['without_cat']?></a>
|
||||
<a href="index.php"><?=$_LANG['all_posts']?></a>
|
||||
</nav>
|
||||
</section>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
<footer>
|
||||
<div class="body">
|
||||
<div class="footer_copy">
|
||||
© <?=COPY?>
|
||||
</div>
|
||||
<div class="footer_text">
|
||||
Powered by <a href="https://git.runx.zip/chicory/orblog-legacy" title="Simple blog for hidden networks.">orblog</a>.
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,36 @@
|
||||
<?php
|
||||
/*-----------------------------------------------------------------------------
|
||||
|
||||
orblog - Simple blog for hidden networks.
|
||||
|
||||
Version: 0.1
|
||||
Git: https://git.runx.zip/chicory/orblog-legacy
|
||||
Copyright: chicory@runx.zip 2020
|
||||
License: http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
-----------------------------------------------------------------------------*/
|
||||
?>
|
||||
<!DOCTYPE html>
|
||||
<html lang="<?=LANG?>">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<link rel="stylesheet" type="text/css" href="public/style/main.css">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
||||
<meta name="description" content="<?=$_TPL['desc']?>">
|
||||
<title><?=$_TPL['title']?></title>
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<div class="body">
|
||||
<div class="header_logo">
|
||||
<a href="<?=URL?>"><?=TEXTLOGO?></a>
|
||||
</div>
|
||||
<div class="header_desc">
|
||||
<div class="heder_block">
|
||||
<?=H_DESC?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
<div class="body">
|
||||
<section class="main">
|
||||
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
/*-----------------------------------------------------------------------------
|
||||
|
||||
orblog - Simple blog for hidden networks.
|
||||
|
||||
Version: 0.1
|
||||
Git: https://git.runx.zip/chicory/orblog-legacy
|
||||
Copyright: chicory@runx.zip 2020
|
||||
License: http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
-----------------------------------------------------------------------------*/
|
||||
?>
|
||||
<div class="clear"></div>
|
||||
<div class="content"><br>
|
||||
<div class="center">
|
||||
<h1><?=$_LANG['empty_category']?></h1>
|
||||
</div>
|
||||
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
/*-----------------------------------------------------------------------------
|
||||
|
||||
orblog - Simple blog for hidden networks.
|
||||
|
||||
Version: 0.1
|
||||
Git: https://git.runx.zip/chicory/orblog-legacy
|
||||
Copyright: chicory@runx.zip 2020
|
||||
License: http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
-----------------------------------------------------------------------------*/
|
||||
?>
|
||||
<div class="content">
|
||||
<div class="center">
|
||||
<?php if($_TPL['prev_page']) { ?>
|
||||
<a href="<?=$_TPL['prev_page']?>">⤽ <?=$_LANG['prev_page']?></a>
|
||||
<?php } ?>
|
||||
<?php if($_TPL['next_page']) { ?>
|
||||
<a href="<?=$_TPL['next_page']?>"><?=$_LANG['next_page']?> ⤼</a>
|
||||
<?php } ?>
|
||||
</div>
|
||||
|
||||
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
/*-----------------------------------------------------------------------------
|
||||
|
||||
orblog - Simple blog for hidden networks.
|
||||
|
||||
Version: 0.1
|
||||
Git: https://git.runx.zip/chicory/orblog-legacy
|
||||
Copyright: chicory@runx.zip 2020
|
||||
License: http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
-----------------------------------------------------------------------------*/
|
||||
?>
|
||||
<div class="title">
|
||||
<div class="title_tab">
|
||||
<?=$_TPL['time']?>
|
||||
</div>
|
||||
<div class="title_etc">
|
||||
<?php if($_SESSION['admin']) { ?>
|
||||
[ <a href="index.php?view=admin&page=edit_post&id=<?=$_TPL['id']?>"><?=$_LANG['edit']?></a> ]
|
||||
<?php } ?>
|
||||
<a href="index.php?view=post&id=<?=$_TPL['id']?>#comments"><?=$_LANG['comments']?> ( <?=$_TPL['comments']?> )</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
<div class="content">
|
||||
<h1><?=$_TPL['title']?></h1>
|
||||
<?=$_TPL['text']?>
|
||||
<br>
|
||||
<?php if($_TPL['tags']) { ?>
|
||||
<?=$_LANG['tags']?>: <?=$_TPL['tags']?><br>
|
||||
<?php } ?>
|
||||
<br>
|
||||
<div class="clear" id="comments"></div>
|
||||
@@ -0,0 +1,32 @@
|
||||
<?php
|
||||
/*-----------------------------------------------------------------------------
|
||||
|
||||
orblog - Simple blog for hidden networks.
|
||||
|
||||
Version: 0.1
|
||||
Git: https://git.runx.zip/chicory/orblog-legacy
|
||||
Copyright: chicory@runx.zip 2020
|
||||
License: http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
-----------------------------------------------------------------------------*/
|
||||
?>
|
||||
<div class="title">
|
||||
<div class="title_tab">
|
||||
<?=$_TPL['time']?>
|
||||
</div>
|
||||
<div class="title_etc">
|
||||
<?php if($_SESSION['admin']) { ?>
|
||||
[ <a href="index.php?view=admin&page=edit_post&id=<?=$_TPL['id']?>"><?=$_LANG['edit']?></a> ]
|
||||
<?php } ?>
|
||||
<a href="index.php?view=post&id=<?=$_TPL['id']?>#comments"><?=$_LANG['comments']?> ( <?=$_TPL['comments']?> )</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
<div class="content">
|
||||
<h1><a href="index.php?view=post&id=<?=$_TPL['id']?>" class="post_title"><?=$_TPL['title']?></a></h1>
|
||||
<?=$_TPL['desc']?>
|
||||
<?php if($_TPL['tags']) { ?>
|
||||
<?=$_LANG['tags']?>: <?=$_TPL['tags']?><br>
|
||||
<?php } ?>
|
||||
<br>
|
||||
</div>
|
||||
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
/*-----------------------------------------------------------------------------
|
||||
|
||||
orblog - Simple blog for hidden networks.
|
||||
|
||||
Version: 0.1
|
||||
Git: https://git.runx.zip/chicory/orblog-legacy
|
||||
Copyright: chicory@runx.zip 2020
|
||||
License: http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
-----------------------------------------------------------------------------*/
|
||||
?>
|
||||
<item>
|
||||
<title><?=$_TPL['title']?></title>
|
||||
<link><?=URL?>index.php?view=post&id=<?=$_TPL['id']?></link>
|
||||
<description>
|
||||
<![CDATA[<?=$_TPL['desc']?>]]>
|
||||
</description>
|
||||
</item>
|
||||
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
/*-----------------------------------------------------------------------------
|
||||
|
||||
orblog - Simple blog for hidden networks.
|
||||
|
||||
Version: 0.1
|
||||
Git: https://git.runx.zip/chicory/orblog-legacy
|
||||
Copyright: chicory@runx.zip 2020
|
||||
License: http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
-----------------------------------------------------------------------------*/
|
||||
?>
|
||||
<div class="title">
|
||||
<div class="title_tab">
|
||||
<?=$_LANG['admin']?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
<div class="content">
|
||||
<div class="center">
|
||||
<h1><?=$_LANG['sign_in']?></h1>
|
||||
<?php if($_TPL['error']) { ?>
|
||||
<div class="error">
|
||||
<?=$_TPL['error']?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<form action="index.php?view=admin&auth=sign_in" method="post">
|
||||
<input type="password" name="pass" placeholder="<?=$_LANG['input_pass']?>"><br>
|
||||
<img src="captcha.php" alt="captcha" class="captcha"><br>
|
||||
<input type="text" name="captcha" placeholder="<?=$_LANG['input_captcha']?>"><br>
|
||||
<input type="submit" value="<?=$_LANG['sign_in']?>" class="button"><br>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user