{"id":14410,"date":"2010-10-04T11:34:05","date_gmt":"2010-10-04T09:34:05","guid":{"rendered":"http:\/\/www.katib.org\/"},"modified":"2010-10-04T11:34:05","modified_gmt":"2010-10-04T09:34:05","slug":"%d8%a7%d9%84%d8%ac%d8%b2%d8%a7%d8%a6%d8%b1","status":"publish","type":"page","link":"https:\/\/www.katib.org\/?page_id=14410","title":{"rendered":"\u0627\u0644\u062c\u0632\u0627\u0626\u0631"},"content":{"rendered":"<p><?php\n\nglobal $wpquery;\n\n\/\/ Make sure our function exists\n\nif (function_exists('cets_get_topic_id_from_slug')){\n\n\/\/ use the query var (text) to get the topicid (int)\n\/\/############################\n$topicid = 5;\n\/\/############################\n\/\/ return an object with the topic info\n\n$topic = cets_get_topic($topicid);\n\n$bloglist = cets_get_blog_details_from_topic_id($topicid, 0, 0, 'alpha'); \/\/$topic_id, $max_rows = 0, $blog_id = 0, $orderby = 'last_updated|alpha'\n\n\n?><\/p>\n<div id=\"mainContent\">\n<h2> \u0645\u062f\u0648\u0646\u0627\u062a \u0627\u0644\u062f\u0648\u0644\u0647<\/h2>\n<p>\t<?php \n\n\tif (sizeOf($bloglist) > 0) {<\/p>\n<p>\techo(&#8220;<\/p>\n<ul class='siteList'>&#8220;);<\/p>\n<p>\tforeach ($bloglist as $key=>$value) {<\/p>\n<p>\t\techo &#8220;<\/p>\n<li><a href='http:\/\/\" . $bloglist[$key][domain] . $bloglist[$key][path] . \"'>&#8221; . $bloglist[$key][blogname] . &#8220;<\/a><\/li>\n<p>&#8220;;<\/p>\n<p>\t}<\/p>\n<p>\techo(&#8220;<\/ul>\n<p>&#8220;);<\/p>\n<p>\t}<\/p>\n<p>\telse {<\/p>\n<p>\t\techo(&#8220;\u0639\u0630\u0631\u0627 \u0644\u0627 \u064a\u0648\u062c\u062f \u0634\u064a\u0626 \u0641\u0649 \u0627\u0644\u0635\u0641\u062d\u0647&#8221;);<\/p>\n<p>\t}<\/p>\n<p>} \/\/ end of big if statement making sure we have the blog topics plugin<\/p>\n<p>else {<\/p>\n<p>\techo (&#8220;<\/p>\n<p>\u0644\u0627 \u064a\u0648\u062c\u062f \u0634\u0626<\/p>\n<p>&#8220;);<\/p>\n<p>}\t<\/p>\n<p>?><\/p><\/div>\n<p> <!-- end #mainContent --><\/p>\n<div id=\"sideContent1\">\n<div class=\"topicListing\"><\/div>\n<p> <!-- \/.topicListing --><\/p><\/div>\n<p> <!-- end #sideContent1 -->  <\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0645\u062f\u0648\u0646\u0627\u062a \u0627\u0644\u062f\u0648\u0644\u0647<\/p>\n","protected":false},"author":4,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"open","template":"","meta":{"footnotes":""},"_links":{"self":[{"href":"https:\/\/www.katib.org\/index.php?rest_route=\/wp\/v2\/pages\/14410"}],"collection":[{"href":"https:\/\/www.katib.org\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.katib.org\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.katib.org\/index.php?rest_route=\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.katib.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=14410"}],"version-history":[{"count":1,"href":"https:\/\/www.katib.org\/index.php?rest_route=\/wp\/v2\/pages\/14410\/revisions"}],"predecessor-version":[{"id":14411,"href":"https:\/\/www.katib.org\/index.php?rest_route=\/wp\/v2\/pages\/14410\/revisions\/14411"}],"wp:attachment":[{"href":"https:\/\/www.katib.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=14410"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}