( ′∀`)σ≡σ☆))Д′)レ(゚∀゚;)ヘ=З=З=Зε≡(ノ´_ゝ`)ノ
<?php
include("includes/limittext.php");
include('Connections/videoondemand.php');
require("DbSql2.inc.php");
require("NewsSql2.inc.php");
$db = new NewsSQL();
/*error_reporting(0);
set_time_limit(0) ;*/
function filter($arr) {
global $link;
return array_map(array($link, 'real_escape_string'), $arr);
}
$_GET = filter($_GET);
$_POST = filter($_POST);
$mode=$_GET["mode"];
include("protect.php");
if (empty($page)) {
$page = 0;
}
include("includes/processFunctions.php");
require 'elementsMachine/textStyles/texttoImage.php';
$obj = new TextToImage();
$text_align= "left";
$text_size= "30";
$text_color= "ffffff";
$text_pad= 20;
$theText= "The Brand";
$saveImage= $_GET["saveImage"];
$text_line_height= $text_size;
$obj->setText($theText);
$obj->setFontSize($text_size);
$obj->setLineHeight($text_line_height);
$obj->setFontFile("assets/fonts/Adamina-Regular.ttf");
$obj->setUnderline(0);
$obj->setPadding($text_pad);
$obj->setHAlignment(strtolower($text_align));
$obj->setWidth(600);
$obj->setHeight(600);
$obj->sety(200);
$obj->setAngle(0);
$obj->setFontColor('#'.$text_color);
$text_align= "left";
$text_size= "30";
$text_color= "ffffff";
$text_pad= 20;
$theText= "The Brand";
$saveImage= $_GET["saveImage"];
$text_line_height= $text_size;
$obj->setText($theText);
$obj->setFontSize($text_size);
$obj->setLineHeight($text_line_height);
$obj->setFontFile("assets/fonts/Adamina-Regular.ttf");
$obj->setUnderline(0);
$obj->setPadding($text_pad);
$obj->setHAlignment(strtolower($text_align));
$obj->setAngle(0);
$obj->sety(1);
$obj->setFontColor('#'.$text_color);
$obj->setWidth(600);
$obj->setHeight(600);
$obj->setBackgroundColor('transparent');
$obj->draw();
?>