{$related['title']}
"; $relatedhtml .= "{$related['pdate']}
include './include/config.php'; include './include/nonMysqlFunctions.php'; $identifier = $_GET['nid']; $action = "articlenew"; $r = rand(0, 152221); $url = "https://apiv3.alarab.com/api/" . $action . "/" . $identifier . "/1"; $response = getJson($url); $result = json_decode($response); $article = json_decode(json_encode($result->data), True); if ($article['mStatus'] == 0) { header('Location: /'); } $pagetitle = $article['title']; $article_author = gen_Author($article['nWriter']); $picsby = get_string_between($article['nWriter'], '(', ')'); $picsby = str_replace(["تصوير", ":"], '', $picsby); if (!$picsby) $picsby = "كل العرب"; $image = $article['fullscreen']; $pdate = $article['pdate']; $udate = $article['udate']; if ($article['mCat'] == 7) { $paid = "