$headline
$text_plista .
makeArticleLink($shortcode);
$imageRetArray = $func->getScreenResolutionFromUA();
$x = $imageRetArray["xImage"];
$y = $imageRetArray["yImage"];
$fontsize = $imageRetArray["fontsize"];
$picQuality = $imageRetArray["picQuality"];
$table = $config->sql_tablename_publish_de();
$table_img = $config->sql_tablename_pictures();
$shortcode_passkey = $config->shortcode_passkey();
$pdo = $conn->prepareQuery();
$picpath = $config->picture_storepath();
$stmt = $pdo->prepare("SELECT * FROM $table WHERE p_shortcode=:shortcode LIMIT 1");
$stmt->bindValue(':shortcode', $shortcode, PDO::PARAM_STR);
$stmt->execute();
$rows = $stmt->fetchAll(PDO::FETCH_ASSOC);
// video:
$video_youtube_uri = $rows[0]["p_videolink"];
$SSDTube->identify($video_youtube_uri);
$EmbeddedVideo = $SSDTube->embed;
$tumbnailVideoImg = $SSDTube->thumbnail;
$VideoAuthor = $SSDTube->author;
$video_duration = $func->getDuration();
$video_title = $SSDTube->title;
$video_description = $SSDTube->description;
$video_width = $SSDTube->width;
$video_height = $SSDTube->height;
$video_youtube_embed = $SSDTube->youtube_embed;
$youtube_watch = $SSDTube->youtube_watch;
$tmp_http_yt_video = $func->ogTagsYoutubeVideo($video_youtube_uri);
// category
$category_id = $rows[0]["p_category"];
$catg_array = $config->array_category();
$category = $catg_array[$category_id];
$slidercontent = json_decode($rows[0]["p_slidercontent"], true);
$pic_link = $rows[0]["p_picture1"]; //;$slidercontent[array_rand($slidercontent)];
//$pic_link = str_ireplace("fimg.funcloud.com/share/", "fimg.funcloud.com/original/", $pic_link);
$pic_link = $func->cachePicture($pic_link); // cache Cloned Pictures
$headline = $rows[0]["p_headline"]; // $func->removeAccents($rows[0]["p_headline"]);
$article = $rows[0]["p_articletext"];
$picture_desc = $rows[0]["p_description"]; //$func->removeAccents($rows[0]["p_description"]);
$headline_social = $func->clear_description($headline);
//$article = str_ireplace("http://cdn.heftig.co", "https://cdn.heftig.co", $func->removeAccents($article));
$sentences = array();
$sentences = preg_split("/[!?.] /", $func->stripHtml($article), -1, PREG_SPLIT_NO_EMPTY);
$plista_time = time() - 24*60*60;
$text_plista = $func->removeAccents($func->stripHtml($sentences[0]));
for($i=2; $i<=count($sentences); $i++){
if (strlen($sentences[$i])>1){
$sentences_content .= $sentences[$i].". ";
}
}
$monate = array(1=>"Januar",
2=>"Februar",
3=>"März",
4=>"April",
5=>"Mai",
6=>"Juni",
7=>"Juli",
8=>"August",
9=>"September",
10=>"Oktober",
11=>"November",
12=>"Dezember");
list($pre_date,) = explode(" ",$rows[0]["p_timestamp"]);
$monat = date("n",strtotime($pre_date));
$date_month = $monate[$monat];
$date_day = date("j", strtotime($pre_date));
$date_year = date("Y", strtotime($pre_date));
$tagcode = <<
$video_title
$video_description
END;
if (stripos($video_youtube_uri,'http') == false) {
$VideoContentString = "";
}
$plista_time = time() - 24*60*60;
$PlistaWerbungString =<<