{"action":"created","comment":{"url":"https://api.github.com/repos/ASUPortal/ASUPortalPHP/pulls/comments/33538294","id":33538294,"diff_hunk":"@@ -0,0 +1,341 @@\n+<?php\n+\n+class CLecturersController extends CBaseController {\n+\tpublic $allowedAnonymous = array(\n+\t\t\t\"index\",\n+\t\t\t\"view\",\n+\t\t\t\"search\"\n+\t);\n+    public function __construct() {\n+        if (!CSession::isAuth()) {\n+            $action = CRequest::getString(\"action\");\n+            if ($action == \"\") {\n+                $action = \"index\";\n+            }\n+            if (!in_array($action, $this->allowedAnonymous)) {\n+                $this->redirectNoAccess();\n+            }\n+        }\n+\n+        $this->_smartyEnabled = true;\n+        $this->setPageTitle(\"Преподаватели\");\n+\n+        parent::__construct();\n+    }\n+    public function actionIndex() {\n+        $set = new CRecordSet();\n+        $query = new CQuery();\n+        $query->select(\"user.*\")\n+            ->from(TABLE_USERS.\" as user\")\n+            ->condition(\"user.status!='администратор'\")\n+            ->order(\"user.FIO asc\");\n+        $firstLet = array(\"А\",\"Б\",\"В\",\"Г\",\"Д\",\"Е\",\"Ё\",\"Ж\",\"З\",\"И\",\"Й\",\"К\",\"Л\",\"М\",\"Н\",\"О\",\"П\",\"Р\",\"С\",\"Т\",\"У\",\"Ф\",\n+        \t\t\"Х\",\"Ц\",\"Ч\",\"Ш\",\"Щ\",\"Э\",\"Ю\",\"Я\");\n+        $letter = $firstLet[CRequest::getInt(\"getsub\")];\n+        $letterId = -1;\n+        if (CRequest::getInt(\"getsub\")>0) {\n+        \t$letterId = CRequest::getInt(\"getsub\");\n+        }\n+        $queryLetter = new CQuery();\n+        $queryLetter->select(\"user.*, UPPER(left(user.FIO,1)) as name, count(*) as cnt\")\n+        ->from(TABLE_USERS.\" as user\")\n+        ->condition(\"user.status='преподаватель'\")\n+        ->group(1)\n+        ->order(\"user.FIO asc\");  \n+        $resRus = array();\n+        foreach ($queryLetter->execute()->getItems() as $ar) {\n+        \t$res = new CUser(new CActiveRecord($ar));\n+        \t$resRus[$res->id] = $res->name;\n+        }\n+        $resRusLetters = array();\n+        $resRusLetters = array_count_values($resRus);\n+        if (isset($_GET['getsub']) and !isset($_GET['filter'])) {\n+        \t$query->condition('user.FIO like \"'.$letter.'%\" and user.status!=\"администратор\"');\n+        }\n+        if (CSession::isAuth() and CSession::getCurrentUser()->status=='преподаватель') {\n+        \t$this->addActionsMenuItem(array(\n+        \t\t\tarray(\n+        \t\t\t\t\"title\" => \"Добавить биографию\",\n+        \t\t\t\t\"link\" => WEB_ROOT.\"_modules/_biography/\",\n+        \t\t\t\t\"icon\" => \"actions/list-add.png\"\n+        \t\t\t)\n+        \t\t)\n+        \t);\t\t\n+        }\n+        $lects = new CArrayList();\n+        $set->setQuery($query);      \n+        foreach ($set->getPaginated()->getItems() as $ar) {\n+            $lect = new CLecturer($ar);\n+            $lects->add($lect->getId(), $lect);\n+        }\n+        $this->setData(\"resRusLetters\", $resRusLetters);\n+        $this->setData(\"letterId\", $letterId);\n+        $this->setData(\"firstLet\", $firstLet);\n+        $this->setData(\"paginator\", $set->getPaginator());\n+        $this->setData(\"lects\", $lects);\n+        $this->renderView(\"__public/_lecturers/index.tpl\");\n+    }\n+    public function actionView() {\n+    \t$lect = CBaseManager::getLecturer(CRequest::getInt(\"id\"));\n+    \t$this->setData(\"lect\", $lect);\n+    \t$this->addActionsMenuItem(array(\n+\t\t\tarray(\n+\t\t\t\t\"title\" => \"Назад\",\n+\t\t\t\t\"link\" => WEB_ROOT.\"_modules/_lecturers/index.php\",\n+\t\t\t\t\"icon\" => \"actions/edit-undo.png\"\n+\t\t\t)\n+\t\t));\n+    \t\n+    \t//Биография  \n+    \t$setBiog = new CRecordSet();\n+    \t$queryBiog = new CQuery();\n+    \t$queryBiog->select(\"biog.*\")\n+    \t->from(TABLE_BIOGRAPHY.\" as biog\")\n+    \t->condition(\"biog.user_id=\".CRequest::getInt(\"id\"));\n+    \t$biogs = new CArrayList();\n+    \t$setBiog->setQuery($queryBiog);\n+    \tforeach ($setBiog->getItems() as $ar) {\n+    \t\t$biog = new CBiography($ar);\n+    \t\t$biogs->add($ar->getId(), $biog);\n+    \t}\n+    \t$this->setData(\"biogs\", $biogs);\n+    \tforeach ($biogs->getItems() as $biog) {\n+    \t\t$photo_biog=$biog->image;\n+    \t}\n+    \t\n+    \t$setKadri = new CRecordSet();\n+    \t$queryKadri = new CQuery();\n+    \t$queryKadri->select(\"person.*\")\n+    \t->from(TABLE_PERSON.\" as person\")\n+    \t->innerJoin(TABLE_USERS.\" as users\", \"users.kadri_id=person.id\")\n+    \t->condition(\"users.id=\".CRequest::getInt(\"id\"));\n+    \t$persons = new CArrayList();\n+    \t$setKadri->setQuery($queryKadri);\n+    \tforeach ($setKadri->getItems() as $ar) {\n+    \t\t$person = new CPerson($ar);\n+    \t\t$persons->add($ar->getId(), $person);\n+    \t}\n+    \tforeach ($persons->getItems() as $person) {\n+    \t\t$photo_kadri=$person->photo;\n+    \t}\n+    \t\n+    \tif ($biogs->getCount() != 0) {\n+    \t\tif ($photo_biog!=\"\") {\n+    \t\t\t$filename = CORE_CWD.CORE_DS.\"images\".CORE_DS.\"lects\".CORE_DS.\"small\".CORE_DS.\"sm_\".$photo_biog;\n+    \t\t\tif (file_exists($filename)) {\n+    \t\t\t\t$pathPhoto = '<img src=\"'.WEB_ROOT.'images/lects/small/sm_'.$photo_biog.'\" border=\"0\" align=\"left\" hspace=\"10\" vspace=\"0\" title=\"фото из биографии\">';\n+    \t\t\t}\n+    \t\t\telse {\n+    \t\t\t\t$pathPhoto = '<img src=\"'.WEB_ROOT.'_modules/_thumbnails/?src=images/lects/'.$photo_biog.'\" border=\"0\" align=\"left\" hspace=\"10\" vspace=\"0\" title=\"фото из биографии\">';\n+    \t\t\t}\n+    \t\t} elseif ($photo_kadri!=\"\") {\n+    \t\t\t$filename = CORE_CWD.CORE_DS.\"images\".CORE_DS.\"lects\".CORE_DS.\"small\".CORE_DS.\"sm_\".$photo_kadri;\n+    \t\t\tif (file_exists($filename)) {\n+    \t\t\t\t$pathPhoto = '<img src=\"'.WEB_ROOT.'images/lects/small/sm_'.$photo_kadri.'\" border=\"0\" align=\"left\" hspace=\"10\" vspace=\"0\" title=\"фото из анкеты\">';\n+    \t\t\t}\n+    \t\t\telse {\n+    \t\t\t\t$pathPhoto = '<img src=\"'.WEB_ROOT.'_modules/_thumbnails/?src=images/lects/'.$photo_kadri.'\" border=\"0\" align=\"left\" hspace=\"10\" vspace=\"0\" title=\"фото из анкеты\">';\n+    \t\t\t}\n+    \t\t}\n+    \t\t$this->setData(\"pathPhoto\", $pathPhoto);\n+    \t}\n+    \t\n+    \t//Веб-страницы на портале\n+    \t$setPage = new CRecordSet();\n+    \t$resPage = new CQuery();\n+    \t$resPage->select(\"page.*\")\n+    \t->from(TABLE_PAGES.\" as page\")\n+    \t->condition(\"page.user_id_insert=\".CRequest::getInt(\"id\").\" and page.type_id<>1\");\n+    \t$pages = new CArrayList();\n+    \t$setPage->setQuery($resPage);\n+    \tforeach ($setPage->getItems() as $ar) {\n+    \t\t$page = new CPage($ar);\n+    \t\t$pages->add($ar->getId(), $page);\n+    \t}\n+    \t$this->setData(\"pages\", $pages);\n+    \t\n+    \t//Список пособий на портале \t\n+    \t$setSubj = new CRecordSet();\n+    \t$resSubj = new CQuery();\n+    \t$resSubj->select(\"subj.*, doc.nameFolder as nameFolder, (select count(*) from files f where f.nameFolder = doc.nameFolder) as f_cnt\")\n+    \t->from(TABLE_DISCIPLINES.\" as subj\")\n+    \t->leftJoin(TABLE_LIBRARY_DOCUMENTS.\" as doc\", \"subj.id = doc.subj_id\")\n+    \t->condition(\"doc.user_id=\".CRequest::getInt(\"id\"));\n+    \t$subjects = new CArrayList();\n+    \t$setSubj->setQuery($resSubj);\n+    \tforeach ($setSubj->getItems() as $ar) {\n+    \t\t$subject = new CDiscipline($ar);\n+    \t\t$subjects->add($ar->getId(), $subject);\n+    \t}\n+    \t$this->setData(\"subjects\", $subjects);\n+    \t\n+    \t//Объявления текущего учебного года\n+    \t$setNews = new CRecordSet();\n+    \t$resNews = new CQuery();\n+    \t$resNews->select(\"news.*\")\n+    \t->from(TABLE_NEWS.\" as news\")\n+    \t->condition('news.user_id_insert=\"'.CRequest::getInt(\"id\").'\" and news.date_time>=\"'.CUtils::getCurrentYear()->date_start.'\"')\n+    \t->order(\"news.date_time desc\");\n+    \t$news = new CArrayList();\n+    \t$setNews->setQuery($resNews);\n+    \tforeach ($setNews->getItems() as $ar) {\n+    \t\t$new = new CNewsItem($ar);\n+    \t\t$news->add($ar->getId(), $new);\n+    \t}\n+    \t$this->setData(\"news\", $news);\n+    \t\n+    \t//Объявления прошлых учебных лет\n+    \t$setNewsOld = new CRecordSet();\n+    \t$resNewsOld = new CQuery();\n+    \t$resNewsOld->select(\"news.*\")\n+    \t->from(TABLE_NEWS.\" as news\")\n+    \t->condition('news.user_id_insert=\"'.CRequest::getInt(\"id\").'\" and news.date_time<\"'.CUtils::getCurrentYear()->date_start.'\"')\n+    \t->order(\"news.date_time desc\");\n+    \t$newsOld = new CArrayList();\n+    \t$setNewsOld->setQuery($resNewsOld);\n+    \tforeach ($setNewsOld->getItems() as $ar) {\n+    \t\t$newOld = new CNewsItem($ar);\n+    \t\t$newsOld->add($ar->getId(), $newOld);\n+    \t}\n+    \t$this->setData(\"newsOld\", $newsOld);\n+    \t\n+    \t//Дипломники текущего учебного года\n+    \t$setDipl = new CRecordSet();\n+    \t$resDipl = new CQuery();\n+    \t$resDipl->select(\"diploms.*, pp.name as pract_place, students.fio as student_fio, study_groups.name as group_name\")\n+    \t->from(TABLE_DIPLOMS.\" as diploms\")\n+    \t->leftJoin(TABLE_STUDENTS.\" as students\", \"diploms.student_id=students.id\")\n+    \t->leftJoin(TABLE_PRACTICE_PLACES.\" as pp\", \"pp.id=diploms.pract_place_id\")\n+    \t->leftJoin(TABLE_PERSON.\" as kadri\", \"diploms.kadri_id=kadri.id\")\n+    \t->leftJoin(TABLE_STUDENT_GROUPS.\" as study_groups\", \"study_groups.id=students.group_id\")\n+    \t->leftJoin(TABLE_USERS.\" as users\", \"users.kadri_id=kadri.id\")\n+    \t->condition('users.kadri_id>0 and users.id=\"'.CRequest::getInt(\"id\").'\" and (diploms.date_act>=\"'.CUtils::getCurrentYear()->date_start.'\" or diploms.date_act is NULL)')\n+    \t->order(\"students.fio asc\");\n+    \t$diploms = new CArrayList();\n+    \t$setDipl->setQuery($resDipl);\n+    \tforeach ($setDipl->getItems() as $ar) {\n+    \t\t$diplom = new CDiplom($ar);\n+    \t\t$diploms->add($ar->getId(), $diplom);\n+    \t}\n+    \t$this->setData(\"diploms\", $diploms);\n+    \t\n+    \t//Дипломники предыдущих учебных лет\t\n+    \t$setDiplOld = new CRecordSet();\n+    \t$resDiplOld = new CQuery();\n+    \t$resDiplOld->select(\"diploms.*, pp.name as pract_place, students.fio as student_fio, study_groups.name as group_name\")\n+    \t->from(TABLE_DIPLOMS.\" as diploms\")\n+    \t->leftJoin(TABLE_STUDENTS.\" as students\", \"diploms.student_id=students.id\")\n+    \t->leftJoin(TABLE_PRACTICE_PLACES.\" as pp\", \"pp.id=diploms.pract_place_id\")\n+    \t->leftJoin(TABLE_PERSON.\" as kadri\", \"diploms.kadri_id=kadri.id\")\n+    \t->leftJoin(TABLE_STUDENT_GROUPS.\" as study_groups\", \"study_groups.id=students.group_id\")\n+    \t->leftJoin(TABLE_USERS.\" as users\", \"users.kadri_id=kadri.id\")\n+    \t->condition('users.kadri_id>0 and users.id=\"'.CRequest::getInt(\"id\").'\" and diploms.date_act<\"'.CUtils::getCurrentYear()->date_start.'\"')\n+    \t->order(\"students.fio asc\");\n+    \t$diplomsOld = new CArrayList();\n+    \t$setDiplOld->setQuery($resDiplOld);\n+    \tforeach ($setDiplOld->getItems() as $ar) {\n+    \t\t$diplomOld = new CDiplom($ar);\n+    \t\t$diplomsOld->add($ar->getId(), $diplomOld);\n+    \t}\n+    \t$this->setData(\"diplomsOld\", $diplomsOld);\n+    \t\n+    \t//Подготовка аспирантов, текущие \t\n+    \t$setAspir = new CRecordSet();\n+    \t$resAspir = new CQuery();\n+    \t$resAspir->select(\"disser.*, kadri.fio as fio\")\n+    \t->from(TABLE_PERSON_DISSER.\" as disser\")\n+    \t->innerJoin(TABLE_PERSON.\" as kadri\", \"kadri.id=disser.kadri_id\")\n+    \t->condition('disser.kadri_id>0 and disser.scinceMan=(select users.kadri_id from users where users.id=\"'.CRequest::getInt(\"id\").'\") and disser.god_zach>=\"'.date(\"Y\").'\"')\n+    \t->order(\"kadri.fio asc\");\n+    \t$aspirs = new CArrayList();\n+    \t$setAspir->setQuery($resAspir);\n+    \tforeach ($setAspir->getItems() as $ar) {\n+    \t\t$aspir = new CPersonPaper($ar);\n+    \t\t$aspirs->add($ar->getId(), $aspir);\n+    \t}\n+    \t$this->setData(\"aspirs\", $aspirs);\n+    \t\n+    \t//Подготовка аспирантов, архив\n+    \t$setAspirOld = new CRecordSet();\n+    \t$resAspirOld = new CQuery();\n+    \t$resAspirOld->select(\"disser.*, kadri.fio as fio\")\n+    \t->from(TABLE_PERSON_DISSER.\" as disser\")\n+    \t->innerJoin(TABLE_PERSON.\" as kadri\", \"kadri.id=disser.kadri_id\")\n+    \t->condition('disser.kadri_id>0 and disser.scinceMan=(select users.kadri_id from users where users.id=\"'.CRequest::getInt(\"id\").'\") and disser.scinceMan>0 and (disser.god_zach<\"'.date(\"Y\").'\" or disser.god_zach is null)')\n+    \t->order(\"kadri.fio asc\");\n+    \t$aspirsOld = new CArrayList();\n+    \t$setAspirOld->setQuery($resAspirOld);\n+    \tforeach ($setAspirOld->getItems() as $ar) {\n+    \t\t$aspirOld = new CPersonPaper($ar);\n+    \t\t$aspirsOld->add($ar->getId(), $aspirOld);\n+    \t}\n+    \t$this->setData(\"aspirsOld\", $aspirsOld);\n+    \t\n+    \t//Расписание\n+    \t$setRasp = new CRecordSet();\n+    \t$resRasp = new CQuery();\n+    \t$resRasp->select(\"time.*\")\n+    \t->from(TABLE_SCHEDULE.\" as time\")\n+    \t->condition('time.id=\"'.CRequest::getInt(\"id\").'\" and time.year=\"'.CUtils::getCurrentYear()->getId().'\" and time.month=\"'.CUtils::getCurrentYearPart()->getId().'\"');\n+    \t$rasps = new CArrayList();\n+    \t$setRasp->setQuery($resRasp);\n+    \tforeach ($setRasp->getItems() as $ar) {\n+    \t\t$rasp = new CSchedule($ar);\n+    \t\t$rasps->add($ar->getId(), $rasp);\n+    \t}\n+    \t$this->setData(\"rasps\", $rasps);\n+    \t\n+    \t//Вопросы и ответы на них преподавателя\n+    \t$setQuest = new CRecordSet();\n+    \t$resQuest = new CQuery();\n+    \t$resQuest->select(\"quest.*\")\n+    \t->from(TABLE_QUESTION_TO_USERS.\" as quest\")\n+    \t->condition('quest.status=3 and quest.answer_text is not null and quest.answer_text!=\"\" and quest.user_id=\"'.CRequest::getInt(\"id\").'\"')\n+    \t->order(\"quest.datetime_quest desc\");\n+    \t$quests = new CArrayList();\n+    \t$setQuest->setQuery($resQuest);\n+    \tforeach ($setQuest->getItems() as $ar) {\n+    \t\t$quest = new CQuestion($ar);\n+    \t\t$quests->add($ar->getId(), $quest);\n+    \t}\n+    \t$this->setData(\"quests\", $quests);\n+    \t\n+    \t//Кураторство учебных групп\n+    \t$setGroup = new CRecordSet();\n+    \t$resGroup = new CQuery();\n+    \t$resGroup->select(\"sg.id, sg.name\")","path":"_core/_controllers/_lecturers/CLecturersController.class.php","position":306,"original_position":306,"commit_id":"dc4ecc877c3e6109cc9f733f3f0dd2ba20e1ef54","original_commit_id":"dc4ecc877c3e6109cc9f733f3f0dd2ba20e1ef54","user":{"login":"alexbarmin","id":965970,"avatar_url":"https://avatars.githubusercontent.com/u/965970?v=3","gravatar_id":"","url":"https://api.github.com/users/alexbarmin","html_url":"https://github.com/alexbarmin","followers_url":"https://api.github.com/users/alexbarmin/followers","following_url":"https://api.github.com/users/alexbarmin/following{/other_user}","gists_url":"https://api.github.com/users/alexbarmin/gists{/gist_id}","starred_url":"https://api.github.com/users/alexbarmin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexbarmin/subscriptions","organizations_url":"https://api.github.com/users/alexbarmin/orgs","repos_url":"https://api.github.com/users/alexbarmin/repos","events_url":"https://api.github.com/users/alexbarmin/events{/privacy}","received_events_url":"https://api.github.com/users/alexbarmin/received_events","type":"User","site_admin":false},"body":"Через модель","created_at":"2015-06-30T03:51:28Z","updated_at":"2015-06-30T03:51:28Z","html_url":"https://github.com/ASUPortal/ASUPortalPHP/pull/61#discussion_r33538294","pull_request_url":"https://api.github.com/repos/ASUPortal/ASUPortalPHP/pulls/61","_links":{"self":{"href":"https://api.github.com/repos/ASUPortal/ASUPortalPHP/pulls/comments/33538294"},"html":{"href":"https://github.com/ASUPortal/ASUPortalPHP/pull/61#discussion_r33538294"},"pull_request":{"href":"https://api.github.com/repos/ASUPortal/ASUPortalPHP/pulls/61"}}},"pull_request":{"url":"https://api.github.com/repos/ASUPortal/ASUPortalPHP/pulls/61","id":38730060,"html_url":"https://github.com/ASUPortal/ASUPortalPHP/pull/61","diff_url":"https://github.com/ASUPortal/ASUPortalPHP/pull/61.diff","patch_url":"https://github.com/ASUPortal/ASUPortalPHP/pull/61.patch","issue_url":"https://api.github.com/repos/ASUPortal/ASUPortalPHP/issues/61","number":61,"state":"open","locked":false,"title":"Страница Преподаватели","user":{"login":"shamidanow","id":9052480,"avatar_url":"https://avatars.githubusercontent.com/u/9052480?v=3","gravatar_id":"","url":"https://api.github.com/users/shamidanow","html_url":"https://github.com/shamidanow","followers_url":"https://api.github.com/users/shamidanow/followers","following_url":"https://api.github.com/users/shamidanow/following{/other_user}","gists_url":"https://api.github.com/users/shamidanow/gists{/gist_id}","starred_url":"https://api.github.com/users/shamidanow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shamidanow/subscriptions","organizations_url":"https://api.github.com/users/shamidanow/orgs","repos_url":"https://api.github.com/users/shamidanow/repos","events_url":"https://api.github.com/users/shamidanow/events{/privacy}","received_events_url":"https://api.github.com/users/shamidanow/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-06-28T18:57:27Z","updated_at":"2015-06-30T03:51:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2d0b1322a99de6b3ccffc7bbf567b8454ce1037b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ASUPortal/ASUPortalPHP/pulls/61/commits","review_comments_url":"https://api.github.com/repos/ASUPortal/ASUPortalPHP/pulls/61/comments","review_comment_url":"https://api.github.com/repos/ASUPortal/ASUPortalPHP/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ASUPortal/ASUPortalPHP/issues/61/comments","statuses_url":"https://api.github.com/repos/ASUPortal/ASUPortalPHP/statuses/dc4ecc877c3e6109cc9f733f3f0dd2ba20e1ef54","head":{"label":"shamidanow:master","ref":"master","sha":"dc4ecc877c3e6109cc9f733f3f0dd2ba20e1ef54","user":{"login":"shamidanow","id":9052480,"avatar_url":"https://avatars.githubusercontent.com/u/9052480?v=3","gravatar_id":"","url":"https://api.github.com/users/shamidanow","html_url":"https://github.com/shamidanow","followers_url":"https://api.github.com/users/shamidanow/followers","following_url":"https://api.github.com/users/shamidanow/following{/other_user}","gists_url":"https://api.github.com/users/shamidanow/gists{/gist_id}","starred_url":"https://api.github.com/users/shamidanow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shamidanow/subscriptions","organizations_url":"https://api.github.com/users/shamidanow/orgs","repos_url":"https://api.github.com/users/shamidanow/repos","events_url":"https://api.github.com/users/shamidanow/events{/privacy}","received_events_url":"https://api.github.com/users/shamidanow/received_events","type":"User","site_admin":false},"repo":{"id":25765758,"name":"ASUPortalPHP","full_name":"shamidanow/ASUPortalPHP","owner":{"login":"shamidanow","id":9052480,"avatar_url":"https://avatars.githubusercontent.com/u/9052480?v=3","gravatar_id":"","url":"https://api.github.com/users/shamidanow","html_url":"https://github.com/shamidanow","followers_url":"https://api.github.com/users/shamidanow/followers","following_url":"https://api.github.com/users/shamidanow/following{/other_user}","gists_url":"https://api.github.com/users/shamidanow/gists{/gist_id}","starred_url":"https://api.github.com/users/shamidanow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shamidanow/subscriptions","organizations_url":"https://api.github.com/users/shamidanow/orgs","repos_url":"https://api.github.com/users/shamidanow/repos","events_url":"https://api.github.com/users/shamidanow/events{/privacy}","received_events_url":"https://api.github.com/users/shamidanow/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/shamidanow/ASUPortalPHP","description":"","fork":true,"url":"https://api.github.com/repos/shamidanow/ASUPortalPHP","forks_url":"https://api.github.com/repos/shamidanow/ASUPortalPHP/forks","keys_url":"https://api.github.com/repos/shamidanow/ASUPortalPHP/keys{/key_id}","collaborators_url":"https://api.github.com/repos/shamidanow/ASUPortalPHP/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/shamidanow/ASUPortalPHP/teams","hooks_url":"https://api.github.com/repos/shamidanow/ASUPortalPHP/hooks","issue_events_url":"https://api.github.com/repos/shamidanow/ASUPortalPHP/issues/events{/number}","events_url":"https://api.github.com/repos/shamidanow/ASUPortalPHP/events","assignees_url":"https://api.github.com/repos/shamidanow/ASUPortalPHP/assignees{/user}","branches_url":"https://api.github.com/repos/shamidanow/ASUPortalPHP/branches{/branch}","tags_url":"https://api.github.com/repos/shamidanow/ASUPortalPHP/tags","blobs_url":"https://api.github.com/repos/shamidanow/ASUPortalPHP/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/shamidanow/ASUPortalPHP/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/shamidanow/ASUPortalPHP/git/refs{/sha}","trees_url":"https://api.github.com/repos/shamidanow/ASUPortalPHP/git/trees{/sha}","statuses_url":"https://api.github.com/repos/shamidanow/ASUPortalPHP/statuses/{sha}","languages_url":"https://api.github.com/repos/shamidanow/ASUPortalPHP/languages","stargazers_url":"https://api.github.com/repos/shamidanow/ASUPortalPHP/stargazers","contributors_url":"https://api.github.com/repos/shamidanow/ASUPortalPHP/contributors","subscribers_url":"https://api.github.com/repos/shamidanow/ASUPortalPHP/subscribers","subscription_url":"https://api.github.com/repos/shamidanow/ASUPortalPHP/subscription","commits_url":"https://api.github.com/repos/shamidanow/ASUPortalPHP/commits{/sha}","git_commits_url":"https://api.github.com/repos/shamidanow/ASUPortalPHP/git/commits{/sha}","comments_url":"https://api.github.com/repos/shamidanow/ASUPortalPHP/comments{/number}","issue_comment_url":"https://api.github.com/repos/shamidanow/ASUPortalPHP/issues/comments{/number}","contents_url":"https://api.github.com/repos/shamidanow/ASUPortalPHP/contents/{+path}","compare_url":"https://api.github.com/repos/shamidanow/ASUPortalPHP/compare/{base}...{head}","merges_url":"https://api.github.com/repos/shamidanow/ASUPortalPHP/merges","archive_url":"https://api.github.com/repos/shamidanow/ASUPortalPHP/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/shamidanow/ASUPortalPHP/downloads","issues_url":"https://api.github.com/repos/shamidanow/ASUPortalPHP/issues{/number}","pulls_url":"https://api.github.com/repos/shamidanow/ASUPortalPHP/pulls{/number}","milestones_url":"https://api.github.com/repos/shamidanow/ASUPortalPHP/milestones{/number}","notifications_url":"https://api.github.com/repos/shamidanow/ASUPortalPHP/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/shamidanow/ASUPortalPHP/labels{/name}","releases_url":"https://api.github.com/repos/shamidanow/ASUPortalPHP/releases{/id}","created_at":"2014-10-26T09:43:08Z","updated_at":"2015-04-27T11:37:01Z","pushed_at":"2015-06-29T19:33:11Z","git_url":"git://github.com/shamidanow/ASUPortalPHP.git","ssh_url":"git@github.com:shamidanow/ASUPortalPHP.git","clone_url":"https://github.com/shamidanow/ASUPortalPHP.git","svn_url":"https://github.com/shamidanow/ASUPortalPHP","homepage":null,"size":116836,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ASUPortal:master","ref":"master","sha":"760bf36443e081b3c15d767c1a3408c47eef0bd7","user":{"login":"ASUPortal","id":8296512,"avatar_url":"https://avatars.githubusercontent.com/u/8296512?v=3","gravatar_id":"","url":"https://api.github.com/users/ASUPortal","html_url":"https://github.com/ASUPortal","followers_url":"https://api.github.com/users/ASUPortal/followers","following_url":"https://api.github.com/users/ASUPortal/following{/other_user}","gists_url":"https://api.github.com/users/ASUPortal/gists{/gist_id}","starred_url":"https://api.github.com/users/ASUPortal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ASUPortal/subscriptions","organizations_url":"https://api.github.com/users/ASUPortal/orgs","repos_url":"https://api.github.com/users/ASUPortal/repos","events_url":"https://api.github.com/users/ASUPortal/events{/privacy}","received_events_url":"https://api.github.com/users/ASUPortal/received_events","type":"User","site_admin":false},"repo":{"id":8646816,"name":"ASUPortalPHP","full_name":"ASUPortal/ASUPortalPHP","owner":{"login":"ASUPortal","id":8296512,"avatar_url":"https://avatars.githubusercontent.com/u/8296512?v=3","gravatar_id":"","url":"https://api.github.com/users/ASUPortal","html_url":"https://github.com/ASUPortal","followers_url":"https://api.github.com/users/ASUPortal/followers","following_url":"https://api.github.com/users/ASUPortal/following{/other_user}","gists_url":"https://api.github.com/users/ASUPortal/gists{/gist_id}","starred_url":"https://api.github.com/users/ASUPortal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ASUPortal/subscriptions","organizations_url":"https://api.github.com/users/ASUPortal/orgs","repos_url":"https://api.github.com/users/ASUPortal/repos","events_url":"https://api.github.com/users/ASUPortal/events{/privacy}","received_events_url":"https://api.github.com/users/ASUPortal/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ASUPortal/ASUPortalPHP","description":"","fork":false,"url":"https://api.github.com/repos/ASUPortal/ASUPortalPHP","forks_url":"https://api.github.com/repos/ASUPortal/ASUPortalPHP/forks","keys_url":"https://api.github.com/repos/ASUPortal/ASUPortalPHP/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ASUPortal/ASUPortalPHP/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ASUPortal/ASUPortalPHP/teams","hooks_url":"https://api.github.com/repos/ASUPortal/ASUPortalPHP/hooks","issue_events_url":"https://api.github.com/repos/ASUPortal/ASUPortalPHP/issues/events{/number}","events_url":"https://api.github.com/repos/ASUPortal/ASUPortalPHP/events","assignees_url":"https://api.github.com/repos/ASUPortal/ASUPortalPHP/assignees{/user}","branches_url":"https://api.github.com/repos/ASUPortal/ASUPortalPHP/branches{/branch}","tags_url":"https://api.github.com/repos/ASUPortal/ASUPortalPHP/tags","blobs_url":"https://api.github.com/repos/ASUPortal/ASUPortalPHP/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ASUPortal/ASUPortalPHP/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ASUPortal/ASUPortalPHP/git/refs{/sha}","trees_url":"https://api.github.com/repos/ASUPortal/ASUPortalPHP/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ASUPortal/ASUPortalPHP/statuses/{sha}","languages_url":"https://api.github.com/repos/ASUPortal/ASUPortalPHP/languages","stargazers_url":"https://api.github.com/repos/ASUPortal/ASUPortalPHP/stargazers","contributors_url":"https://api.github.com/repos/ASUPortal/ASUPortalPHP/contributors","subscribers_url":"https://api.github.com/repos/ASUPortal/ASUPortalPHP/subscribers","subscription_url":"https://api.github.com/repos/ASUPortal/ASUPortalPHP/subscription","commits_url":"https://api.github.com/repos/ASUPortal/ASUPortalPHP/commits{/sha}","git_commits_url":"https://api.github.com/repos/ASUPortal/ASUPortalPHP/git/commits{/sha}","comments_url":"https://api.github.com/repos/ASUPortal/ASUPortalPHP/comments{/number}","issue_comment_url":"https://api.github.com/repos/ASUPortal/ASUPortalPHP/issues/comments{/number}","contents_url":"https://api.github.com/repos/ASUPortal/ASUPortalPHP/contents/{+path}","compare_url":"https://api.github.com/repos/ASUPortal/ASUPortalPHP/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ASUPortal/ASUPortalPHP/merges","archive_url":"https://api.github.com/repos/ASUPortal/ASUPortalPHP/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ASUPortal/ASUPortalPHP/downloads","issues_url":"https://api.github.com/repos/ASUPortal/ASUPortalPHP/issues{/number}","pulls_url":"https://api.github.com/repos/ASUPortal/ASUPortalPHP/pulls{/number}","milestones_url":"https://api.github.com/repos/ASUPortal/ASUPortalPHP/milestones{/number}","notifications_url":"https://api.github.com/repos/ASUPortal/ASUPortalPHP/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ASUPortal/ASUPortalPHP/labels{/name}","releases_url":"https://api.github.com/repos/ASUPortal/ASUPortalPHP/releases{/id}","created_at":"2013-03-08T08:26:07Z","updated_at":"2015-04-27T11:54:18Z","pushed_at":"2015-06-29T19:33:12Z","git_url":"git://github.com/ASUPortal/ASUPortalPHP.git","ssh_url":"git@github.com:ASUPortal/ASUPortalPHP.git","clone_url":"https://github.com/ASUPortal/ASUPortalPHP.git","svn_url":"https://github.com/ASUPortal/ASUPortalPHP","homepage":null,"size":122659,"stargazers_count":1,"watchers_count":1,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":5,"forks":7,"open_issues":5,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ASUPortal/ASUPortalPHP/pulls/61"},"html":{"href":"https://github.com/ASUPortal/ASUPortalPHP/pull/61"},"issue":{"href":"https://api.github.com/repos/ASUPortal/ASUPortalPHP/issues/61"},"comments":{"href":"https://api.github.com/repos/ASUPortal/ASUPortalPHP/issues/61/comments"},"review_comments":{"href":"https://api.github.com/repos/ASUPortal/ASUPortalPHP/pulls/61/comments"},"review_comment":{"href":"https://api.github.com/repos/ASUPortal/ASUPortalPHP/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ASUPortal/ASUPortalPHP/pulls/61/commits"},"statuses":{"href":"https://api.github.com/repos/ASUPortal/ASUPortalPHP/statuses/dc4ecc877c3e6109cc9f733f3f0dd2ba20e1ef54"}}}}