Teknik is a suite of services with attractive and functional interfaces. https://www.teknik.io/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 5 години
преди 5 години
преди 5 години
преди 5 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295
  1. <?php
  2. $FounderUsers = $userTools->getUsersFromGroup("Founder");
  3. $AdminUsers = $userTools->getUsersFromGroup("Admin");
  4. $ModUsers = $userTools->getUsersFromGroup("Moderator");
  5. $history_events = $db->select('history', "1=? ORDER BY event_date DESC", array("1"));
  6. $history = array();
  7. foreach ($history_events as $history_event)
  8. {
  9. if (!is_array($history_event))
  10. {
  11. $history = array($history_events);
  12. break;
  13. }
  14. array_push($history, $history_event);
  15. }
  16. ?>
  17. <div class="container">
  18. <div class="row">
  19. <div class="col-ms-12">
  20. <ul class="nav nav-tabs" id="myTab">
  21. <li class="active"><a href="#about_us" data-toggle="tab">About Us</a></li>
  22. <?php if ($FounderUsers || $AdminUsers || $ModUsers) { ?>
  23. <li><a href="#staff" data-toggle="tab">Staff</a></li>
  24. <?php } ?>
  25. <li><a href="#history" data-toggle="tab">History</a></li>
  26. </ul>
  27. <div class="tab-content">
  28. <div class="tab-pane active" id="about_us">
  29. <h2 class="text-center">What we are About</h2>
  30. <hr>
  31. <p>
  32. Teknik was created to provide our users free services that they can trust. All of our services are treated with the utmost care to provide you with the best experience possible, and the best security with your data that we can give.
  33. </p>
  34. <p>
  35. You can view our complete activity and statistics by visiting the <a href="<?php echo get_page_url("transparency", $CONF); ?>" target="_blank">Transparency</a> page.
  36. </p>
  37. <h2 class="text-center">What we Offer</h2>
  38. <hr>
  39. <div class="row">
  40. <div class="col-sm-4 col-sm-offset-2 text-center">
  41. <h4><a href="<?php echo get_page_url("paste", $CONF); ?>" target="_blank">Fast and Secure Pastebin</a></h4>
  42. <h4><a href="<?php echo get_page_url("upload", $CONF); ?>" target="_blank">Encrypted File Uploads</a></h4>
  43. <h4><a href="<?php echo get_page_url("mail", $CONF); ?>" target="_blank">Free Email Address</a></h4>
  44. <h4><a href="<?php echo get_page_url("api", $CONF); ?>" target="_blank">Easy to Use API</a></h4>
  45. <h4><a href="<?php echo get_page_url("help", $CONF); ?>#Git" target="_blank">Personal Git Repositories</a></h4>
  46. </div>
  47. <div class="col-sm-4 text-center">
  48. <h4><a href="<?php echo get_page_url("blog", $CONF); if ($logged_in) { echo "/".$user->username; }?>" target="_blank">Personal Blog</a></h4>
  49. <h4><a href="<?php echo get_page_url("podcast", $CONF); ?>" target="_blank">Entertaining Podcasts</a></h4>
  50. <h4><a href="<?php echo get_page_url("help", $CONF); ?>#Mumble" target="_blank">Mumble Server</a></h4>
  51. <h4><a href="<?php echo get_page_url("transparency", $CONF); ?>" target="_blank">Full Transparency</a></h4>
  52. <h4><a href="<?php echo get_page_url("git", $CONF); ?>/Teknik.git/" target="_blank">Completely Open Source</a></h4>
  53. </div>
  54. </div>
  55. <h2 class="text-center">How can I help?</h2>
  56. <hr>
  57. <p>
  58. Teknik hosts an open <a href="<?php echo get_page_url("git", $CONF); ?>">Git Repository</a> for all our internal tools projects. This is open to all registered users so feel free to add to it!
  59. <br />
  60. <br />
  61. Have a cool suggestion for the site? Just submit it using the <a href="<?php echo get_page_url("contact", $CONF); ?>">Feedback Form</a>!
  62. </p>
  63. <div class="alert alert-info">
  64. <div class="text-center">
  65. <p>
  66. While we provide these services for free, sadly that doesn't make the cost magically go away. If you think we are doing a great job and would like to say thanks, we would greatly appreciate a small donation so that we can pay the bills! (Or buy some beer)
  67. </p>
  68. <p>
  69. <div class="input-group col-sm-6 col-sm-offset-3">
  70. <span class="input-group-addon" id="basic-addon1">Bitcoin Address</span>
  71. <input type="text" class="form-control" name="bitcoin_address" value="<?php echo $CONF['bitcoin_address']; ?>" readonly>
  72. </div>
  73. <br />
  74. PayPal Address: <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=MBG93VKQ343P4">admin@teknik.io</a>
  75. </p>
  76. </p>
  77. </div>
  78. </div>
  79. </div>
  80. <div class="tab-pane" id="staff">
  81. <?php
  82. if ($FounderUsers || $AdminUsers || $ModUsers)
  83. {
  84. ?>
  85. <?php
  86. if ($FounderUsers)
  87. {
  88. ?>
  89. <div class="row">
  90. <div class="col-md-12">
  91. <h2>Founders</h2>
  92. </div>
  93. </div>
  94. <div class="row">
  95. <?php
  96. foreach ($FounderUsers as $founderuser)
  97. {
  98. ?>
  99. <div class="col-md-6">
  100. <div class="blockquote-box blockquote-danger clearfix">
  101. <a href="<?php echo get_page_url("home", $CONF); ?>/<?php echo $founderuser->username; ?>">
  102. <div class="square pull-left">
  103. <span class="glyphicon glyphicon-tower glyphicon-lg"></span>
  104. </div>
  105. </a>
  106. <h4>
  107. <?php echo $founderuser->username; ?></h4>
  108. <p>
  109. <?php echo $founderuser->quote; ?>
  110. </p>
  111. </div>
  112. </div>
  113. <?php
  114. }
  115. ?>
  116. </div>
  117. <?php
  118. }
  119. if ($AdminUsers)
  120. {
  121. ?>
  122. <div class="row">
  123. <div class="col-md-12">
  124. <h2>Administrators</h2>
  125. </div>
  126. </div>
  127. <div class="row">
  128. <?php
  129. foreach ($AdminUsers as $adminuser)
  130. {
  131. ?>
  132. <div class="col-md-6">
  133. <div class="blockquote-box blockquote-primary clearfix">
  134. <a href="<?php echo get_page_url("home", $CONF); ?>/<?php echo $adminuser->username; ?>">
  135. <div class="square pull-left">
  136. <span class="glyphicon glyphicon-star glyphicon-lg"></span>
  137. </div>
  138. </a>
  139. <h4>
  140. <?php echo $adminuser->username; ?></h4>
  141. <p>
  142. <?php echo $adminuser->quote; ?>
  143. </p>
  144. </div>
  145. </div>
  146. <?php
  147. }
  148. ?>
  149. </div>
  150. <?php
  151. }
  152. if ($ModUsers)
  153. {
  154. ?>
  155. <div class="row">
  156. <div class="col-md-12">
  157. <h2>Moderators</h2>
  158. </div>
  159. </div>
  160. <div class="row">
  161. <?php
  162. foreach ($ModUsers as $moduser)
  163. {
  164. ?>
  165. <div class="col-md-6">
  166. <div class="blockquote-box blockquote-success clearfix">
  167. <a href="<?php echo get_page_url("home", $CONF); ?>/<?php echo $moduser->username; ?>">
  168. <div class="square pull-left">
  169. <span class="glyphicon glyphicon-star-empty glyphicon-lg"></span>
  170. </div>
  171. </a>
  172. <h4>
  173. <?php echo $moduser->username; ?></h4>
  174. <p>
  175. <?php echo $moduser->quote; ?>
  176. </p>
  177. </div>
  178. </div>
  179. <?php
  180. }
  181. ?>
  182. </div>
  183. <?php
  184. }
  185. ?>
  186. <?php
  187. }
  188. ?>
  189. </div>
  190. <?php
  191. if ($history)
  192. {
  193. ?>
  194. <div class="tab-pane" id="history">
  195. <div class="page-header text-center">
  196. <h1>The History of #/g/technology</h1>
  197. </div>
  198. <div class="row">
  199. <div class="col-md-12">
  200. <div class="panel panel-default">
  201. <div class="panel-body">
  202. In early 2012 one of the current owners, dissatisfied with the /g/ channels that existed, sought to create a different one. One that was actually about technology. He posted on /g/ about his desire to create a new channel, and invited others to join him. He then invited his friends from former software projects and #/g/technology was born.
  203. <br /><br />
  204. The channel has grown a lot since then, and is now considered the de-facto /g/ channel and is by far the largest channel for 4chan's technology board.
  205. </div>
  206. </div>
  207. </div>
  208. </div>
  209. <div id="timeline">
  210. <?php
  211. $current_day = date("d",time())+1;
  212. $current_month = date("m",time())+1;
  213. $current_year = date("Y",time());
  214. $first_event = true;
  215. $position = "right";
  216. foreach ($history as $event)
  217. {
  218. $event_date = (isset($event['event_date'])) ? $event['event_date'] : "";
  219. $event_title = (isset($event['title'])) ? $event['title'] : "";
  220. $event_description = (isset($event['description'])) ? $event['description'] : "";
  221. $new_day_tag = false;
  222. $new_year_tag = false;
  223. if ($current_day != date("d",strtotime($event_date)) || $current_month != date("m",strtotime($event_date)))
  224. {
  225. $new_day_tag = true;
  226. }
  227. if ($current_year != date("Y",strtotime($event_date)))
  228. {
  229. $new_year_tag = true;
  230. }
  231. if ($position == "left")
  232. {
  233. $position = "right";
  234. }
  235. else
  236. {
  237. $position = "left";
  238. }
  239. $current_day = date("d",strtotime($event_date));
  240. $current_month = date("m",strtotime($event_date));
  241. $current_year = date("Y",strtotime($event_date));
  242. ?>
  243. <?php if (!$first_event && $new_day_tag) { ?>
  244. </div>
  245. <?php } ?>
  246. <?php if ($new_year_tag) { ?>
  247. <div class="row timeline-movement timeline-movement-top">
  248. <div class="timeline-badge">
  249. <span class="timeline-balloon-date-year"><?php echo date("Y",strtotime($event_date)); ?></span>
  250. </div>
  251. </div>
  252. <?php } ?>
  253. <?php if ($new_day_tag) { ?>
  254. <div class="row timeline-movement">
  255. <?php } ?>
  256. <?php if ($new_day_tag) { ?>
  257. <div class="timeline-badge">
  258. <span class="timeline-balloon-date-day"><?php echo date("d",strtotime($event_date)); ?></span>
  259. <span class="timeline-balloon-date-month"><?php echo date("M",strtotime($event_date)); ?></span>
  260. </div>
  261. <?php } ?>
  262. <div class="col-sm-6 <?php if ($position == "right") { echo "col-sm-offset-6"; } ?> timeline-item">
  263. <div class="row">
  264. <div class="col-sm-11 <?php if ($position == "right") { echo "col-sm-offset-1"; } ?>">
  265. <div class="timeline-panel <?php echo $position; ?>">
  266. <ul class="timeline-panel-ul">
  267. <li><span class="importo"><?php echo $event_title; ?></span></li>
  268. <li><span class="causale"><?php echo $event_description; ?></span> </li>
  269. <li><p><small class="text-muted"><i class="glyphicon glyphicon-time"></i> <?php echo date("Y-m-d H:i:s", strtotime($event_date)); ?></small></p> </li>
  270. </ul>
  271. </div>
  272. </div>
  273. </div>
  274. </div>
  275. <?php
  276. $first_event = false;
  277. }
  278. ?>
  279. </div>
  280. </div>
  281. </div>
  282. <?php
  283. }
  284. ?>
  285. </div>
  286. </div>
  287. </div>
  288. </div>