( ′∀`)σ≡σ☆))Д′)レ(゚∀゚;)ヘ=З=З=Зε≡(ノ´_ゝ`)ノ 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/tmpr/../tmpr/..//tmpr/../pages/logomaker.php
<?php  

if(!empty($delete))
{
 $delete = $db->base64url_decode($delete);
 $db->delconversation($delete);

 }
  $view1 = $db->base64url_decode($view);
if(!empty($msg_id))
{
 $theLayout = $db->base64url_decode($msg_id);
 $resultLayout = $db->getstar2($theLayout);
	 
 }
 else
 {
	$resultLayout = $db->getfavstartag();
	 
 }

?>

 

 


 
 
        
         
     
<?php $msg_id_0 = $db->Profile_Pic_ID(); 
      $msg_id_0 = $db->base64url_encode($msg_id_0);
	  $resultC = $db-> idtoCampaign($catalogidX,$view1); 
	   
 $resultTheme = $db-> getmytheme($resultC[0]["themeid"]);

 ?>
  
 
 
                          <?php $msg_id = $_GET["msg_id"]; $view = $_GET["view"];
	if(empty($msg_id) && empty($view))
 {?> <?php $campaign = $_GET["campaign"];
	if($campaign!="edit" && $campaign!="create")
 {?> 
 
 
		     
     

              <table width="100%" border="0">
  <tr>
    <td> <script type="text/javascript" src="<?php echo $siteaddress;?>js/myCampaigns.js"></script>
             <div id="containerReportaZ" >
                  <div id="loadingReportaM"></div>
             
                  <div class="dataReportaM" ></div>
                  <div class="paginationReportaM" ></div>
    </div></td>
  </tr>
</table>
  </header>

 
    
 
   <?php } ?>
                       
                        <?php } ?>
                       
           
	

 <?php $campaign = $_GET["campaign"];
	if(!empty($campaign) && ($campaign=="create"))
 {?> 

 
<div id="tabcontent" class="tab-content">
           
<div class="tab-pane fade  in <?php $campaign = $_GET["campaign"];
	if(!empty($campaign) && ($campaign == "create"))
 {?>active<?php } ?>" id="start">
 
 
 
 
 
    <?php $campaign = $_GET["campaign"];
	if(!empty($campaign))
 {?> 
  
  
   <section class=" " >
    <header class="panel-heading " >
<table width="100%" border="0">
  <tr>
    <td><b  class="text-success h4">Brand Details</b></td>
    <td>&nbsp; </td>
  </tr>
</table>
 
 
<?php /*?> <table width="100%" border="0">
  <tr>
    <td width="100%">  <b  class="text-success h4">Start a Campaign</b>    </td>
    <td>  </td>
                
    </tr></table><?php */?>  <?php /*?><div class="line line-dashed"></div><?php */?>
  <?php /*?> <div class="line line-dashed"></div><?php */?>
 <span class="h4 block m-b-lg<?php /*?> m-t-lg<?php */?> ">  </span>
                

          
        <form method="get" name="startCampaign" id="startCampaign">
        
         <input id="themeid" name="themeid" class="form-control" value="<?php echo ucwords($resultLayout[0]["id"]);?>" type="hidden"> 
        
     <input type="hidden"  id="logofont" value="squad ">
<input type="hidden"   id="logocolor" value="cc0000">
  <input type="hidden"   id="logocolor2" value="666666">        
          
          <div class="form-group">
          
            <input type="text"  id="brandname"  placeholder="<?php echo $nameBrand; ?>" value="<?php echo $nameBrand; ?>" class="form-control input-lg ">      </div>  
        
                       <div class="form-group">
          
            <input type="text"  id="slogan"  placeholder="<?php echo  $sloganBrand; ?>" value="<?php echo $sloganBrand; ?>" class="form-control input-lg ">      </div>  
        
                      
    <script type="text/javascript">
$(document).ready(function(){
	
	

                
                function loadDataReportaM(page){
             
					
					 loading_show();
					 var myaccount = $("#meX").val();
				 
 
			                
                    $.ajax
                    ({
                        type: "GET",
                         url: mimiServer+"service/logoStyles.php?who="+myaccount+"",
                        data: "page=4-"+page,
                        success: function(msg)
                        {
                            $("#containerReportaS").ajaxComplete(function(event, request, settings)
                            {
                             
                                $("#containerReportaS").html(msg);
								loading_hide();
                            });
                        }
                    });
                }
				var pager = $("#pager").val(); 
                loadDataReportaM(pager);  // For first time page load default results
                $('#containerReportaS .paginationReportaM span.active').live('click',function(){
                    var page = $(this).attr('p');
                    loadDataReportaM(page);
                    
                });           
                $('#go_btnReportaM').live('click',function(){
                    var page = parseInt($('.gotoReportaM').val());
                    var no_of_pages = parseInt($('.totalReportaM').attr('a'));
                    if(page != 0 && page <= no_of_pages){
                        loadDataReportaM(page);
                    }else{
                        alert('Enter a PAGE between 1 and '+no_of_pages);
                        $('.gotoReportaM').val("").focus();
                        return false;
                    }
                    
                });
            });
   
     //tailer

   
</script>
                



             <div id="containerReportaS" >
                  <div id="loadingReportaM"></div>
             
                  <div class="dataReportaM" ></div>
                  <div class="paginationReportaM" ></div>
    </div>
  
  
    <table width="100%" border="0">
      <td>
     <table border="0" width="100%" class="paginationReportaM" cellpadding="0" cellspacing="0" height="40" style="margin-top:5px">
     <tbody><tr>
		<td width="100%" height="40" valign="bottom">
			<h4 style="margin-top:0px; " class="post-title" id="status">  Primary Color  </h4></td> 
		 <td width="100" height="40">
	   
	<a style="margin-right:20px; margin-top:30px" href="indexAlone.php?mode=identity" class="tipme">  <span class="label label-default">Choose Brand Color </span></a>
		 </td>
		      
 

 
	</tr>
    
     
    
    
     </tbody></table>
     
      </td>
   
  </tr>  <tr>
      <td>
      
     <?php  	
global $link;		
 $sql ="select * from myfonts where catalogid='$catalogidX' and isdisplay='3' limit 0,1";	 
 $rs_settings = mysqli_query($link,$sql);	
 while ($row_settings = mysqli_fetch_array($rs_settings)) {
$themeid = $row_settings['themeid'] ;   



  $sql2 ="select * from brandcolors where brandid='$themeid' limit 0,1";	 
 $rs_settings2 = mysqli_query($link,$sql2);	
 while ($row_settings2 = mysqli_fetch_array($rs_settings2)) {
 $brandname = $row_settings2['brandname'] ;
 
 
  $sql3 ="select * from brandcolorstext where uniqueid='$brandname' limit 0,7";	 
 $rs_settings3 = mysqli_query($link,$sql3);	
 while ($row_settings3 = mysqli_fetch_array($rs_settings3)) {
 $hex = $row_settings3['hex'] ;
 ?>
 
 
 
 
 <table style="float:left;  margin-right:15px; border-radius:16px;-moz-border-radius:16px;-webkit-border-radius:16px;margin-bottom:20px; padding:0px; border:6px solid #fff;-webkit-box-shadow: 0 2px 5px #999999;
box-shadow: 0 2px 5px #999999;">
<tbody><tr>  
 <td class="chooseFontColor" title="<?php echo  $hex; ?>" style="width:30px; height:30px; min-width:30px; background-color:#<?php echo  $hex; ?>"></td>
  </tr></tbody></table>
 
 
 
 
 <?php
 
 
 
 
  }	
 
 
  }	
  }	 
?>
 
    
        </td>
   
  </tr>  
  <tr>
      <td><table border="0" width="100%" class="paginationReportaM" cellpadding="0" cellspacing="0" height="40" style="margin-top:5px">
     <tbody><tr>
		<td width="100%" height="40" valign="bottom">
			<h4 style="margin-top:0px; " class="post-title" id="status">  Secondary Color  </h4></td> 
		 <td width="100" height="40">
	   
	
		 </td>
		      
 

 
	</tr>
    
     
    
    
     </tbody></table>
     
      </td>
   
  </tr> <tr>
      <td>
      
     <?php  	
global $link;		
 $sql ="select * from myfonts where catalogid='$catalogidX' and isdisplay='3' limit 0,1";	 
 $rs_settings = mysqli_query($link,$sql);	
 while ($row_settings = mysqli_fetch_array($rs_settings)) {
$themeid = $row_settings['themeid'] ;   



  $sql2 ="select * from brandcolors where brandid='$themeid' limit 0,1";	 
 $rs_settings2 = mysqli_query($link,$sql2);	
 while ($row_settings2 = mysqli_fetch_array($rs_settings2)) {
 $brandname = $row_settings2['brandname'] ;
 
 
  $sql3 ="select * from brandcolorstext where uniqueid='$brandname' limit 0,7";	 
 $rs_settings3 = mysqli_query($link,$sql3);	
 while ($row_settings3 = mysqli_fetch_array($rs_settings3)) {
 $hex2 = $row_settings3['hex'] ;
 ?>
 
 
 
 
 <table style="float:left;  margin-right:15px; border-radius:16px;-moz-border-radius:16px;-webkit-border-radius:16px;margin-bottom:20px; padding:0px; border:6px solid #fff;-webkit-box-shadow: 0 2px 5px #999999;
box-shadow: 0 2px 5px #999999;">
<tbody><tr>  
 <td class="chooseFontColor2" title2="<?php echo  $hex2; ?>" style="width:30px; height:30px; min-width:30px; background-color:#<?php echo  $hex2; ?>"></td>
  </tr></tbody></table>
 
 
 
 
 <?php
 
 
 
 
  }	
 
 
  }	
  }	 
?>
 
    
        </td>
   
  </tr>
  
   <tr>
      <td><div class="line line-dashed"></div>  </td>
   
  </tr> 
  <tr>
      <td>
      
         <div class="col-lg-4"  >
          <select name="logoheight" class="form-control input-lg m-b" id="logoheight">
           <option>Line Height</option>
                       
                        
                        <option>10</option>
                      <option >20</option>
												   <option>30</option>
                        <option selected="selected">40</option>
                        <option>50</option>
                         <option>60</option>
                          <option>70</option>
                           <option>80</option>
                            <option>90</option>
                             <option>100</option>
                              <option>110</option>
                      </select>
     </div>
           <div class="col-lg-4"  >
          <select name="logoalign" class="form-control input-lg m-b" id="logoalign">
                        <option>Logo Align</option>
                      <option>left</option>
												   <option>center</option>
                        <option>right</option>
                      </select>
     </div>  
       <div class="col-lg-4"  >
          <select name="logocapitalize" class="form-control input-lg m-b" id="logocapitalize">
                        <option selected="selected">Logo Capitalize</option>
                      <option >default</option>
						<option>uppercase</option>
                        <option>lowercase</option>
                        <option>titlecase</option>
                      </select>
     </div>  
     


 <div class="col-lg-4"  >
          <select name="logolinebreak" class="form-control input-lg m-b" id="logolinebreak">
                        <option selected="selected">Line Break</option>
                      <option >yes</option>
						<option>no</option>
                         
                      </select>
     </div>   <div class="col-lg-4"  >
          <select name="logotagline" class="form-control input-lg m-b" id="logotagline">
                        <option selected="selected">Tag Line</option>
                      <option >yes</option>
						<option>no</option>
                         
                      </select>
     </div>  
      <div class="col-lg-4"  >
          <select name="sloganheight" class="form-control input-lg m-b" id="sloganheight">
           <option>Slogan Height</option>
                       
                        
                        <option> 0</option> <option>10</option>
                      <option selected="selected">20</option>
												   <option>30</option>
                        <option >40</option>
                        <option>50</option>
                         <option>60</option>
                          <option>70</option>
                           <option>80</option>
                            <option>90</option>
                             <option>100</option>
                              <option>110</option>
                      </select>
     </div>
       
      </td></tr>  <tr>
      <td><div class="line line-dashed"></div>  </td>
   
  </tr> <tr>
</table>
  

        </form> 

</header></section>
 

  <?php  } ?> 
   
 
 
   
</div>

         
 
  </div> <?php } ?>    
  
 
   
 
<script type="text/javascript">
 $('.chooseFontColor').on('click', function()  {
	 	  
	 loading_show();
	
 
	
	
  
	var ID = $(this).attr("id");
	 
	var title = $(this).attr("title"); 
	 	
	$("#logocolor").val(title);	
	selectTheme();
		 loading_hide();
		
		});
	
	 $('.chooseFontColor2').on('click', function()  {
	 	  
	 loading_show();
	
 
	
	
  
	var ID2 = $(this).attr("id2");
	 
	var title2 = $(this).attr("title2"); 
	 	
	$("#logocolor2").val(title2);	
	selectTheme();
		 loading_hide();
		
		});
	
</script>