Permalink
Browse files

Autoupdater Robot

  • Loading branch information...
1 parent 5d133c0 commit 3cfea2a4a1d6aa37bb39fabec84b41a4b4d6446b @CuteNews committed Dec 19, 2013
Showing with 20,125 additions and 0 deletions.
  1. +58 −0 LGPL_CKeditor.txt
  2. +63 −0 LICENSE.txt
  3. +79 −0 README.md
  4. +19 −0 captcha.php
  5. +66 −0 cn_api.php
  6. +361 −0 core/captcha/captcha.php
  7. BIN core/captcha/resources/fonts/Heineken.ttf
  8. +10 −0 core/ckeditor/adapters/jquery.js
  9. +166 −0 core/ckeditor/build-config.js
  10. +929 −0 core/ckeditor/ckeditor.js
  11. +10 −0 core/ckeditor/config.js
  12. +103 −0 core/ckeditor/contents.css
  13. +5 −0 core/ckeditor/lang/en.js
  14. +10 −0 core/ckeditor/plugins/a11yhelp/dialogs/a11yhelp.js
  15. +9 −0 core/ckeditor/plugins/a11yhelp/dialogs/lang/en.js
  16. +7 −0 core/ckeditor/plugins/about/dialogs/about.js
  17. BIN core/ckeditor/plugins/about/dialogs/hidpi/logo_ckeditor.png
  18. BIN core/ckeditor/plugins/about/dialogs/logo_ckeditor.png
  19. +11 −0 core/ckeditor/plugins/clipboard/dialogs/paste.js
  20. +13 −0 core/ckeditor/plugins/colordialog/dialogs/colordialog.js
  21. +4 −0 core/ckeditor/plugins/dialog/dialogDefinition.js
  22. +9 −0 core/ckeditor/plugins/div/dialogs/div.js
  23. BIN core/ckeditor/plugins/fakeobjects/images/spacer.gif
  24. +24 −0 core/ckeditor/plugins/find/dialogs/find.js
  25. +24 −0 core/ckeditor/plugins/flash/dialogs/flash.js
  26. BIN core/ckeditor/plugins/flash/images/placeholder.png
  27. +8 −0 core/ckeditor/plugins/forms/dialogs/button.js
  28. +8 −0 core/ckeditor/plugins/forms/dialogs/checkbox.js
  29. +8 −0 core/ckeditor/plugins/forms/dialogs/form.js
  30. +8 −0 core/ckeditor/plugins/forms/dialogs/hiddenfield.js
  31. +8 −0 core/ckeditor/plugins/forms/dialogs/radio.js
  32. +20 −0 core/ckeditor/plugins/forms/dialogs/select.js
  33. +8 −0 core/ckeditor/plugins/forms/dialogs/textarea.js
  34. +10 −0 core/ckeditor/plugins/forms/dialogs/textfield.js
  35. BIN core/ckeditor/plugins/forms/images/hiddenfield.gif
  36. BIN core/ckeditor/plugins/icons.png
  37. BIN core/ckeditor/plugins/icons_hidpi.png
  38. +10 −0 core/ckeditor/plugins/iframe/dialogs/iframe.js
  39. BIN core/ckeditor/plugins/iframe/images/placeholder.png
  40. +43 −0 core/ckeditor/plugins/image/dialogs/image.js
  41. BIN core/ckeditor/plugins/image/images/noimage.png
  42. +8 −0 core/ckeditor/plugins/link/dialogs/anchor.js
  43. +36 −0 core/ckeditor/plugins/link/dialogs/link.js
  44. BIN core/ckeditor/plugins/link/images/anchor.png
  45. BIN core/ckeditor/plugins/link/images/hidpi/anchor.png
  46. +10 −0 core/ckeditor/plugins/liststyle/dialogs/liststyle.js
  47. BIN core/ckeditor/plugins/magicline/images/hidpi/icon.png
  48. BIN core/ckeditor/plugins/magicline/images/icon.png
  49. BIN core/ckeditor/plugins/pagebreak/images/pagebreak.gif
  50. +31 −0 core/ckeditor/plugins/pastefromword/filter/default.js
  51. +10 −0 core/ckeditor/plugins/preview/preview.html
  52. +28 −0 core/ckeditor/plugins/scayt/LICENSE.md
  53. +25 −0 core/ckeditor/plugins/scayt/README.md
  54. +20 −0 core/ckeditor/plugins/scayt/dialogs/options.js
  55. +71 −0 core/ckeditor/plugins/scayt/dialogs/toolbar.css
  56. BIN core/ckeditor/plugins/showblocks/images/block_address.png
  57. BIN core/ckeditor/plugins/showblocks/images/block_blockquote.png
  58. BIN core/ckeditor/plugins/showblocks/images/block_div.png
  59. BIN core/ckeditor/plugins/showblocks/images/block_h1.png
  60. BIN core/ckeditor/plugins/showblocks/images/block_h2.png
  61. BIN core/ckeditor/plugins/showblocks/images/block_h3.png
  62. BIN core/ckeditor/plugins/showblocks/images/block_h4.png
  63. BIN core/ckeditor/plugins/showblocks/images/block_h5.png
  64. BIN core/ckeditor/plugins/showblocks/images/block_h6.png
  65. BIN core/ckeditor/plugins/showblocks/images/block_p.png
  66. BIN core/ckeditor/plugins/showblocks/images/block_pre.png
  67. +10 −0 core/ckeditor/plugins/smiley/dialogs/smiley.js
  68. +13 −0 core/ckeditor/plugins/specialchar/dialogs/lang/en.js
  69. +14 −0 core/ckeditor/plugins/specialchar/dialogs/specialchar.js
  70. +21 −0 core/ckeditor/plugins/table/dialogs/table.js
  71. +16 −0 core/ckeditor/plugins/tabletools/dialogs/tableCell.js
  72. +84 −0 core/ckeditor/plugins/templates/dialogs/templates.css
  73. +10 −0 core/ckeditor/plugins/templates/dialogs/templates.js
  74. +6 −0 core/ckeditor/plugins/templates/templates/default.js
  75. BIN core/ckeditor/plugins/templates/templates/images/template1.gif
  76. BIN core/ckeditor/plugins/templates/templates/images/template2.gif
  77. BIN core/ckeditor/plugins/templates/templates/images/template3.gif
  78. +28 −0 core/ckeditor/plugins/wsc/LICENSE.md
  79. +25 −0 core/ckeditor/plugins/wsc/README.md
  80. +66 −0 core/ckeditor/plugins/wsc/dialogs/ciframe.html
  81. +118 −0 core/ckeditor/plugins/wsc/dialogs/tmp.html
  82. +52 −0 core/ckeditor/plugins/wsc/dialogs/tmpFrameset.html
  83. +82 −0 core/ckeditor/plugins/wsc/dialogs/wsc.css
  84. +67 −0 core/ckeditor/plugins/wsc/dialogs/wsc.js
  85. +11 −0 core/ckeditor/plugins/wsc/dialogs/wsc_ie.js
  86. +5 −0 core/ckeditor/skins/moono/dialog.css
  87. +5 −0 core/ckeditor/skins/moono/dialog_ie.css
  88. +5 −0 core/ckeditor/skins/moono/dialog_ie7.css
  89. +5 −0 core/ckeditor/skins/moono/dialog_ie8.css
  90. +5 −0 core/ckeditor/skins/moono/dialog_iequirks.css
  91. +5 −0 core/ckeditor/skins/moono/dialog_opera.css
  92. +5 −0 core/ckeditor/skins/moono/editor.css
  93. +5 −0 core/ckeditor/skins/moono/editor_gecko.css
  94. +5 −0 core/ckeditor/skins/moono/editor_ie.css
  95. +5 −0 core/ckeditor/skins/moono/editor_ie7.css
  96. +5 −0 core/ckeditor/skins/moono/editor_ie8.css
  97. +5 −0 core/ckeditor/skins/moono/editor_iequirks.css
  98. BIN core/ckeditor/skins/moono/icons.png
  99. BIN core/ckeditor/skins/moono/icons_hidpi.png
  100. BIN core/ckeditor/skins/moono/images/arrow.png
  101. BIN core/ckeditor/skins/moono/images/close.png
  102. BIN core/ckeditor/skins/moono/images/hidpi/close.png
  103. BIN core/ckeditor/skins/moono/images/hidpi/lock-open.png
  104. BIN core/ckeditor/skins/moono/images/hidpi/lock.png
  105. BIN core/ckeditor/skins/moono/images/hidpi/refresh.png
  106. BIN core/ckeditor/skins/moono/images/lock-open.png
  107. BIN core/ckeditor/skins/moono/images/lock.png
  108. BIN core/ckeditor/skins/moono/images/refresh.png
  109. +51 −0 core/ckeditor/skins/moono/readme.md
  110. +111 −0 core/ckeditor/styles.js
  111. +3,687 −0 core/core.php
  112. +895 −0 core/db/coreflat.php
  113. +2 −0 core/deprecated.php
  114. +197 −0 core/includes/active_news.php
  115. +278 −0 core/includes/add_comment.php
  116. +173 −0 core/includes/comments.php
  117. +55 −0 core/includes/dispatcher.php
  118. +30 −0 core/includes/full_story.php
  119. +64 −0 core/init.php
  120. 0 core/lang/en.txt
  121. +183 −0 core/modules/add_news.php
  122. +1,911 −0 core/modules/dashboard.php
  123. +662 −0 core/modules/edit_news.php
  124. +57 −0 core/modules/help.php
  125. +219 −0 core/modules/hooks/common.php
  126. +43 −0 core/modules/init.php
  127. +515 −0 core/modules/maint.php
  128. +541 −0 core/modules/media.php
  129. +876 −0 core/news.php
  130. +423 −0 core/security.php
  131. +349 −0 core/zip.class.php
  132. +164 −0 docs/readme.html
  133. +239 −0 docs/release.html
  134. +271 −0 docs/usage.html
  135. +243 −0 example.php
  136. BIN favicon.ico
  137. +20 −0 index.php
  138. +30 −0 print.php
  139. +39 −0 rss.php
  140. +200 −0 search.php
  141. +43 −0 show_archives.php
  142. +110 −0 show_news.php
  143. +8 −0 skins/base/addedit/changecats.php
  144. +31 −0 skins/base/addedit/main.css
  145. +201 −0 skins/base/addedit/main.php
  146. +32 −0 skins/base/auth/login.php
  147. +23 −0 skins/base/auth/lost.php
  148. +60 −0 skins/base/auth/register.php
  149. +93 −0 skins/base/cnscript.tpl
  150. +18 −0 skins/base/confirm.tpl
  151. +76 −0 skins/base/dashboard/archives.php
  152. +34 −0 skins/base/dashboard/backups.php
  153. +105 −0 skins/base/dashboard/category.php
  154. +26 −0 skins/base/dashboard/comments.php
  155. +93 −0 skins/base/dashboard/general.php
  156. +105 −0 skins/base/dashboard/group.php
  157. +275 −0 skins/base/dashboard/intwiz.php
  158. +32 −0 skins/base/dashboard/ipban.php
  159. +86 −0 skins/base/dashboard/locale.php
  160. +51 −0 skins/base/dashboard/logs.php
  161. +79 −0 skins/base/dashboard/morefields.php
  162. +94 −0 skins/base/dashboard/personal.php
  163. +43 −0 skins/base/dashboard/replace.php
  164. +31 −0 skins/base/dashboard/script.php
  165. +16 −0 skins/base/dashboard/selfchk.php
  166. +11 −0 skins/base/dashboard/snippet/editor.php
  167. +73 −0 skins/base/dashboard/snippet/morefields.php
  168. +60 −0 skins/base/dashboard/style.css
  169. +60 −0 skins/base/dashboard/sysconf.php
  170. +73 −0 skins/base/dashboard/template.php
  171. +101 −0 skins/base/dashboard/users.php
  172. +56 −0 skins/base/dashboard/widgets.php
  173. +6 −0 skins/base/defaults/groups.tpl
  174. +48 −0 skins/base/defaults/groups_names.tpl
  175. +138 −0 skins/base/defaults/templates.tpl
  176. +276 −0 skins/base/editnews/list.php
  177. +48 −0 skins/base/editnews/main.css
  178. +8 −0 skins/base/fb_comments.tpl
  179. +8 −0 skins/base/google_plus.tpl
  180. +57 −0 skins/base/help/about.php
  181. +151 −0 skins/base/help/cutecode.php
  182. +9 −0 skins/base/help/main.php
  183. +2 −0 skins/base/help/manual/rss.tpl
  184. +16 −0 skins/base/help/manual/wrong_include.tpl
  185. +7 −0 skins/base/help/sections/addnews_options.tpl
  186. +10 −0 skins/base/help/sections/archives.tpl
  187. +24 −0 skins/base/help/sections/categories.tpl
  188. +14 −0 skins/base/help/sections/including.tpl
  189. +24 −0 skins/base/help/sections/multiple_includes.tpl
  190. +3 −0 skins/base/help/sections/snippets.tpl
  191. +26 −0 skins/base/help/sections/templates.tpl
  192. +111 −0 skins/base/help/sections/tplvars.tpl
  193. +13 −0 skins/base/help/sections/users.tpl
  194. +17 −0 skins/base/help/sections/variables.tpl
  195. +32 −0 skins/base/help/style.css
  196. +57 −0 skins/base/install.php
  197. +1 −0 skins/base/maint/diff.php
  198. +19 −0 skins/base/maint/maintenance.php
  199. +77 −0 skins/base/maint/migrate.php
  200. +1 −0 skins/base/maint/repair.php
  201. +45 −0 skins/base/maint/sysconf.php
  202. +7 −0 skins/base/maint/window/template.php
  203. +203 −0 skins/base/media/general.php
  204. +23 −0 skins/base/media/style.css
  205. +2 −0 skins/base/msg.tpl
  206. +9 −0 skins/base/widgets/personal_login_form.tpl
  207. +30 −0 skins/base/window.php
  208. +87 −0 skins/compact.skin.php
  209. +304 −0 skins/cute.js
  210. +188 −0 skins/default.css
  211. +54 −0 skins/default.skin.php
  212. +3 −0 skins/emoticons/.htaccess
  213. BIN skins/emoticons/angry.gif
  214. BIN skins/emoticons/confused.gif
  215. BIN skins/emoticons/cool.gif
  216. BIN skins/emoticons/cry.gif
  217. BIN skins/emoticons/crying.gif
  218. +3 −0 skins/emoticons/index.html
  219. BIN skins/emoticons/laughing.gif
  220. BIN skins/emoticons/lol.gif
  221. BIN skins/emoticons/normal.gif
  222. BIN skins/emoticons/redface.gif
  223. BIN skins/emoticons/rolleyes.gif
  224. BIN skins/emoticons/sad.gif
  225. BIN skins/emoticons/shocked.gif
  226. BIN skins/emoticons/sick.gif
  227. BIN skins/emoticons/sleeping.gif
  228. BIN skins/emoticons/smile.gif
  229. BIN skins/emoticons/surprised.gif
  230. BIN skins/emoticons/tongue.gif
  231. BIN skins/emoticons/unsure.gif
  232. BIN skins/emoticons/wassat.gif
  233. BIN skins/emoticons/whistling.gif
  234. BIN skins/emoticons/wink.gif
  235. BIN skins/images/addnews.gif
  236. BIN skins/images/arch.png
  237. BIN skins/images/archives.gif
  238. BIN skins/images/baloon.gif
  239. BIN skins/images/blank.gif
  240. BIN skins/images/block.png
  241. BIN skins/images/category.png
  242. BIN skins/images/check.png
  243. BIN skins/images/comments.png
  244. BIN skins/images/cutenews-logo.png
  245. BIN skins/images/cutephp.png
  246. BIN skins/images/details.png
  247. BIN skins/images/dir.png
  248. BIN skins/images/editnews.gif
  249. BIN skins/images/error.gif
  250. BIN skins/images/favicon.ico
  251. BIN skins/images/favicon.png
  252. BIN skins/images/format-bb.png
  253. BIN skins/images/format-bold.png
  254. BIN skins/images/format-insert_image.png
  255. BIN skins/images/format-italic.png
  256. BIN skins/images/format-quote.png
  257. BIN skins/images/format-underline.png
  258. BIN skins/images/group.png
  259. BIN skins/images/help_small.gif
  260. BIN skins/images/home.gif
  261. BIN skins/images/images.gif
  262. BIN skins/images/info.gif
  263. BIN skins/images/list.png
  264. BIN skins/images/locale.png
  265. BIN skins/images/more.png
  266. BIN skins/images/options.gif
  267. BIN skins/images/plugins.png
  268. BIN skins/images/question.gif
  269. BIN skins/images/replace.png
  270. BIN skins/images/rss_icon.gif
  271. BIN skins/images/script.png
  272. BIN skins/images/settings.png
  273. BIN skins/images/template.png
  274. BIN skins/images/user.gif
  275. BIN skins/images/users.gif
  276. BIN skins/images/view_image.gif
  277. BIN skins/images/widgets.png
  278. BIN skins/images/wizard.gif
  279. +63 −0 skins/rss_style.css
  280. +93 −0 skins/simple.skin.php
  281. +48 −0 snippet.php
View
@@ -0,0 +1,58 @@
+GNU LESSER GENERAL PUBLIC LICENSE
+
+Version 3, 29 June 2007
+
+Copyright © 2007 Free Software Foundation, Inc. <http://fsf.org/>
+
+ Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed.
+
+This version of the GNU Lesser General Public License incorporates the terms and conditions of version 3 of the GNU General Public License, supplemented by the additional permissions listed below.
+0. Additional Definitions.
+
+As used herein, “this License” refers to version 3 of the GNU Lesser General Public License, and the “GNU GPL” refers to version 3 of the GNU General Public License.
+
+“The Library” refers to a covered work governed by this License, other than an Application or a Combined Work as defined below.
+
+An “Application” is any work that makes use of an interface provided by the Library, but which is not otherwise based on the Library. Defining a subclass of a class defined by the Library is deemed a mode of using an interface provided by the Library.
+
+A “Combined Work” is a work produced by combining or linking an Application with the Library. The particular version of the Library with which the Combined Work was made is also called the “Linked Version”.
+
+The “Minimal Corresponding Source” for a Combined Work means the Corresponding Source for the Combined Work, excluding any source code for portions of the Combined Work that, considered in isolation, are based on the Application, and not on the Linked Version.
+
+The “Corresponding Application Code” for a Combined Work means the object code and/or source code for the Application, including any data and utility programs needed for reproducing the Combined Work from the Application, but excluding the System Libraries of the Combined Work.
+1. Exception to Section 3 of the GNU GPL.
+
+You may convey a covered work under sections 3 and 4 of this License without being bound by section 3 of the GNU GPL.
+2. Conveying Modified Versions.
+
+If you modify a copy of the Library, and, in your modifications, a facility refers to a function or data to be supplied by an Application that uses the facility (other than as an argument passed when the facility is invoked), then you may convey a copy of the modified version:
+a) under this License, provided that you make a good faith effort to ensure that, in the event an Application does not supply the function or data, the facility still operates, and performs whatever part of its purpose remains meaningful, or
+b) under the GNU GPL, with none of the additional permissions of this License applicable to that copy.
+3. Object Code Incorporating Material from Library Header Files.
+
+The object code form of an Application may incorporate material from a header file that is part of the Library. You may convey such object code under terms of your choice, provided that, if the incorporated material is not limited to numerical parameters, data structure layouts and accessors, or small macros, inline functions and templates (ten or fewer lines in length), you do both of the following:
+a) Give prominent notice with each copy of the object code that the Library is used in it and that the Library and its use are covered by this License.
+b) Accompany the object code with a copy of the GNU GPL and this license document.
+4. Combined Works.
+
+You may convey a Combined Work under terms of your choice that, taken together, effectively do not restrict modification of the portions of the Library contained in the Combined Work and reverse engineering for debugging such modifications, if you also do each of the following:
+a) Give prominent notice with each copy of the Combined Work that the Library is used in it and that the Library and its use are covered by this License.
+b) Accompany the Combined Work with a copy of the GNU GPL and this license document.
+c) For a Combined Work that displays copyright notices during execution, include the copyright notice for the Library among these notices, as well as a reference directing the user to the copies of the GNU GPL and this license document.
+d) Do one of the following:
+0) Convey the Minimal Corresponding Source under the terms of this License, and the Corresponding Application Code in a form suitable for, and under terms that permit, the user to recombine or relink the Application with a modified version of the Linked Version to produce a modified Combined Work, in the manner specified by section 6 of the GNU GPL for conveying Corresponding Source.
+1) Use a suitable shared library mechanism for linking with the Library. A suitable mechanism is one that (a) uses at run time a copy of the Library already present on the user's computer system, and (b) will operate properly with a modified version of the Library that is interface-compatible with the Linked Version.
+e) Provide Installation Information, but only if you would otherwise be required to provide such information under section 6 of the GNU GPL, and only to the extent that such information is necessary to install and execute a modified version of the Combined Work produced by recombining or relinking the Application with a modified version of the Linked Version. (If you use option 4d0, the Installation Information must accompany the Minimal Corresponding Source and Corresponding Application Code. If you use option 4d1, you must provide the Installation Information in the manner specified by section 6 of the GNU GPL for conveying Corresponding Source.)
+5. Combined Libraries.
+
+You may place library facilities that are a work based on the Library side by side in a single library together with other library facilities that are not Applications and are not covered by this License, and convey such a combined library under terms of your choice, if you do both of the following:
+a) Accompany the combined library with a copy of the same work based on the Library, uncombined with any other library facilities, conveyed under the terms of this License.
+b) Give prominent notice with the combined library that part of it is a work based on the Library, and explaining where to find the accompanying uncombined form of the same work.
+6. Revised Versions of the GNU Lesser General Public License.
+
+The Free Software Foundation may publish revised and/or new versions of the GNU Lesser General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns.
+
+Each version is given a distinguishing version number. If the Library as you received it specifies that a certain numbered version of the GNU Lesser General Public License “or any later version” applies to it, you have the option of following the terms and conditions either of that published version or of any later version published by the Free Software Foundation. If the Library as you received it does not specify a version number of the GNU Lesser General Public License, you may choose any version of the GNU Lesser General Public License ever published by the Free Software Foundation.
+
+If the Library as you received it specifies that a proxy can decide whether future versions of the GNU Lesser General Public License shall apply, that proxy's public statement of acceptance of any version is permanent authorization for you to choose that version for the Library.
+
View
@@ -0,0 +1,63 @@
+CutePHP.com Software License Agreement
+
+1. This Software License Agreement is a legal agreement between you,
+the end-user ("Licensee"), and Authors of software ("Authors"). By
+using our software or storing it on a computer hard drive (or other
+type of media), you are agreeing to be bound by the terms of this
+Agreement.
+
+2. CutePHP Software IS DISTRIBUTED "AS IS". NO WARRANTY OF ANY KIND IS
+EXPRESSED OR IMPLIED. You Use our software AT YOUR OWN RISK. CutePHP
+Authors hereby disclaim all warranties and guarantees regarding the
+use, or the results of use, of the software in terms of correctness,
+accuracy, reliability or otherwise. The Authors will not be responsible
+for any incidental, consequential, direct or indirect damages. You
+also agree that the disclaimer is the complete and exclusive statement
+of agreement between the parties and supersede all proposals or prior
+agreements, oral or written, and any other communications between the
+parties relating to the subject matter of the disclaimer.
+
+3. All copyrights to "CutePHP.com" are exclusively owned by CutePHP
+Development Team.
+
+4. You can use CutePHP.com Software for free as long as you do not
+remove / edit, and keep visible the "Powered by..." line (displayed
+on every page where the script is included) without the explicit
+written permission of CutePHP.com or payed registration.
+The Software is licensed only to you. You may not rent, lease,
+sublicense, sell, assign, pledge, transfer or otherwise dispose of the
+Software in any form, on a temporary or permanent basis, without the
+prior written consent of CutePHP.com
+
+5. Users may modify software code for their personal use (at their own
+risk), but any altered code must not be redistributed or resold in any
+form without the explicit written permission of CutePHP.com
+
+6. Registered Users/Customers (purchased-license holders) are allowed
+to remove the 'Powered by...' line.
+
+6.1 All customers must include the URL of the domain where the Script
+will be used. This is done through the Customer Area at CutePHP.com
+
+6.2 Customers are allowed to install the script only on the domain
+stated in their license. This means that the Licensee can install the
+script only on one domain per license purchased. Multiple instances of
+the script (installations) are allowed in the scope of the licensed
+domain.
+
+6.3 Once you are in receipt of our software, License fees are
+non-refundable. We encourage you to verify (by installing the free
+version) that the software is working on your server and no problems
+are occurring.
+
+6.4 Un-Official technical support will be provided in our forums from
+voluntary members to both Registered and Un-Registered Users.
+
+6.5 CutePHP.com Software includes CKEditor and class "zipfile" by
+Joshua Townsend, which is an open-source product.
+
+TERMINATION
+This Agreement will terminate automatically upon failure to comply
+with the limitations described herein or on written notice from an
+authorized representative of CutePHP.com. On termination, you must
+destroy all copies of the Software within 48 hours.
View
@@ -0,0 +1,79 @@
+Сutenews 2.0
+============
+
+CuteNews is a FREE, powerful and easy-to-use news management system based on flat files
+as a storage with search function, file upload management, backup & restore, IP banning,
+flood protection and many more. Moreover Cutenews is UTF-8 fully compatible system.
+
+
+Performance
+===========
+Starting with the version 2.0 we've improved the capacity, speed and security of the CMS
+
+
+News Features
+=============
+Additional X-Field, ability to see the first posts while adding and editing, PHP-code
+error protection while news output, error logging at backend.
+
+
+Social Functions
+=============
+Opportunity to vote for news and comment it on Facebook.
+
+
+
+Quick and Easy installation
+=============
+The whole installation process comprises just one step and goes very fast. Migration is
+also done in one quick step and can be accomplished without any effort on your part.
+
+
+You don't need MySQL
+=============
+A notable feature of the CuteNews engine is that it doesn't use MySQL to store news,
+comments, user profiles, or any other data. The CuteNews engine can be installed on
+practically any web server.
+
+
+Super-Easy to use
+=============
+Anyone can edit templates and use the embeddable code on their website: it's so simple
+that you don't even have to know anything about PHP programming.
+
+
+WYSYWIG editor
+=============
+Enjoy writing and editing news for your website in CKEditor, a modern WYSIWYG (what you
+see is what you get) text editor built into CuteNews.
+
+
+Plug-ins
+=============
+The new developer-friendly and easy-to-use plug-ins system, which first made its appearance
+in 1.5.0, allows you to extend the basic feature set of CuteNews.
+
+
+Captcha and Antiflood
+=============
+CuteNews comes with captcha-based anti-spam protection as well as anti-flood protection and
+tools for banning unwanted IP addresses.
+
+
+Different User Levels
+=============
+CuteNews allows for different types of users with different permission levels: Administrator,
+Editor, Journalist, Commenter, Ban and user defined level. Each of these types of users has
+access to different features on a CuteNews-driven website.
+
+
+Visitors can search
+=============
+Users can search for intended info using a dedicated search form. Conducted searches are based
+on the full-text search algorithms with ranking.
+
+
+Everything is automated
+=============
+You don't have to worry about creating news items: CuteNews does everything automatically.
+It is also capable of archiving old news items and activating postponed ones on its own.
View
@@ -0,0 +1,19 @@
+<?php
+
+ include('core/init.php');
+
+ // plugin tells us: he is fork, stop
+ if ( hook('fork_captcha', false) ) return;
+
+ require_once SERVDIR.'/core/captcha/captcha.php';
+
+ $captcha = new SimpleCaptcha();
+ $captcha->imageFormat = 'png';
+ $captcha->session_var = 'CSW';
+ $captcha->scale = 2;
+ $captcha->blur = true;
+ $captcha->resourcesPath = SERVDIR.'/core/captcha/resources';
+
+ // Image generation
+ $captcha->CreateImage();
+ die();
View
@@ -0,0 +1,66 @@
+<?php // API: External function for CN
+
+require_once dirname(__FILE__).'/core/init.php';
+
+// Input: $id - timestamp, $data - entry data
+function cn_api_add_news($id, $data)
+{
+ $nloc = db_get_nloc($id);
+ $db = db_news_load($nloc);
+ $db[$id] = $data;
+
+ // add data
+ db_save_news($db, $nloc);
+
+ $user = db_user_by_name($data['u']);
+
+ // add index data
+ $w = fopen(db_index_file_detect(), 'a+');
+ fwrite($w, base_convert($id, 10, 36).':'.$data['c'].':'.base_convert($user['id'], 10, 36).':'.count($data['co']).'::'."\n");
+ fclose($w);
+}
+
+// Since 2.0: Get news entry
+function cn_api_get_entry($id = NULL)
+{
+ if (is_null($id))
+ $id = REQ('id');
+
+ $id = cn_id_alias($id);
+ $db = db_news_load(db_get_nloc($id));
+
+ // Other meta-information
+ if (isset($db[$id]))
+ {
+ $_cot = array();
+ $_cat = cn_get_categories(true);
+ $_cts = spsep($db[$id]['c']);
+
+ foreach ($_cts as $cid) $_cot[$cid] = $_cat[$cid]['name'];
+
+ $db[$id][':cot'] = $_cot;
+ return $db[$id];
+ }
+ else
+ return array();
+}
+
+// Since 2.0: Get tagcloud
+function cn_api_tagcloud($flat = true)
+{
+ $tags = cn_touch_get('/cdata/news/tagcloud.php');
+
+ if ($flat)
+ {
+ foreach ($tags as $id => $v)
+ {
+ $url = cn_rewrite('tag', $id);
+ if (!$url) $url = cn_url_modify('tag='.$id);
+
+ $tags[$id] = array('weight' => $v, 'url' => $url);
+ }
+ return $tags;
+ }
+
+ return null;
+}
Oops, something went wrong.

0 comments on commit 3cfea2a

Please sign in to comment.