<?php
include_once "invoice_includes.php";
////////////////////// CORE FUNCTION | MODULE FUNCTION (c) i2d Technologies //////////////////////////////////
////////////////////// CORE FUNCTION | MODULE FUNCTION (c) i2d Technologies //////////////////////////////////
include_once('tcpdf_vars_proposal.php');

include_once('tcpdf_proposal_fetch_i2dprohostpk.php');

require_once('tcpdf_include.php');



$file_title="i2d_hosting_proposal";
$doc_title="i2d Technologies - Client Hosting Proposal";
$inv_title=strtoupper('Internet Brand Name Proposal');
$doc_keywords="web hosting";
$doc_sub="Cloud Linux - Hosting Services";

$rec_id = $id;
$refno = $rec_id;

include_once('tcpdf_bottom.php');


$unit="PKR";

//$package_price="9500";
$tax_value=$package_price*$tax_rate1;
$price_with_tax=$package_price+$domain_price+$tax_value;


$inv_header='<p>&nbsp;</p><p>&nbsp;</p><p>&nbsp;</p>

<table width="660" border="0" align="center" cellpadding="2" cellspacing="0">
  <tr>
    <td width="290" rowspan="2" align="left">ATTN : <br />
    '. $person_name .' <br />
    '. $company_name .'<br /> 
    '. $address .'</td>
    <td width="370" align="right"><h2>'. $inv_title .'</h2></td>
  </tr>
  <tr>
    <td align="right">Dated: '. $dated1 .'</td>
  </tr>
  
</table><br /><br />

';

//$html .=''.$package_feature0.'';
$html .='';


//////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////

$package1_title="<br />"."Cloud Linux Pro 1 GB (.pk)<br />";
$package1_features='
<ul>
      <li><h3>'.$domain_name.'</h3></li>
      <li><strong>Cloud Linux 1000 MB</strong></li>
      <li>3 Corporate Email Account(s)</li>
      <li>Unlimited Forwarders</li>
      <li>Web Mail Manager</li>
      <li>Data Base Support</li>
      <li>Hosting Control Panel </li>
      <li>File Manager / FTP</li>
      <li>Virus Protection</li>
      <li> Backup Manager</li>
      <li><strong>2 Years Validity</strong></li>
      <li><strong>24 Months Online Support</strong></li>
     </ul>    ';
	
$package1_price=$unit." "."20,500*/-";
$package1_duration="24 Months Subscription";
	
$package2_title="<strong>Cloud Linux Pro 1 GB <br />
      10th Anniversary Special!<br />
     30% OFF Mega Saver</strong>";
$package2_features='
<ul>
      <li><h3>'.$domain_name.'</h3></li>
      <li><strong>Cloud Linux 1000 MB</strong></li>
      <li>3 Email Account(s)</li>
      <li>Unlimited Forwarders</li>
      <li>Web Mail Manager</li>
      <li>Data Base Support</li>
      <li>Hosting Control Panel </li>
      <li>File Manager / FTP</li>
      <li>Virus Protection</li>
      <li> Backup Manager</li>
      <li><strong>3 Years Validity</strong></li>
      <li><strong>3 Years Online Support</strong></li>
      <li><strong>*Limited Offer!</strong> Was 29,000 / Now Just 21,000</li>
    </ul>    ';
	
$package2_price=$unit." "."21,000*/-";
$package2_duration="3 Years Subscription";
	

$package3_title="<strong>Cloud Linux Pro 1 GB 3 Years<br />
      Super Saver! 40% OFF<br />
    (*Time Limited Promo)</strong>";
$package3_features='
<ul>
      <li><h3>'.$domain_name.'</h3></li>
      <li><strong>Cloud Linux 1000 MB</strong></li>
      <li>5 Email Account(s)</li>
      <li>Unlimited Forwarders</li>
      <li>Web Mail Manager / MS Outlook Express</li>
      <li>Data Base Support</li>
      <li>Hosting Control Panel </li>
      <li>File Manager / FTP</li>
      <li>Virus Protection</li>
      <li>Backup Manager</li>
      <li><strong>3 Years Validity</strong></li>
      <li><strong>3 Years Online Support</strong></li>
      <li><strong>*Offer Expires on 02-02-2022</strong></li>
    </ul>    ';
	
$package3_price=$unit." "."21,000*/-";
$package3_duration="36 Months Subscription";
	
$opening_letter='
<table width="660" border="0" align="center" cellpadding="2" cellspacing="0">
  <tr>
    <td height="10" align="center">Introducing <strong>'.$domain_name.'</strong> for your business</td>
  </tr>
  <tr>
    <td height="10" align="left">Greetings!<br />
      <!--
	  <br />
    i2d Technologies is plaeased to offer you <strong>INTERNET BRAND REGISTRATION</strong> &amp; Secured Cloud Hosting Services for your business.<br />
    <br />
	-->
    <!--
	<strong>We are providing quality services in the Twin Cities since 2008</strong> and have clients ranging from Small Medium Companies to Large Businesses.
    Our Data Center is equipped with state of the art machinery and latest cloud based storage technology. Our Packages feature <strong>World Famous Hosting Management Interface </strong> alongwith <strong>24/7 Online Support</strong> for your account.<br /> 
    -->
	<br />
     i2d Technologies is plaeased to offer your business internet brand name &quot;<strong>'.$domain_name.'</strong>&quot; registration services , assuring you quality service backed by intellectual support for a long term business relationship.<br />
    Below are the salient features and pricing of our hosting subscriptions :-<br />
    <br /></td>
  </tr>
</table>
';

$price_tables=
'
<table width="660" border="1" align="center" cellpadding="4" cellspacing="0">
  
  <tr>
    <td width="660"><h3>'.$package1_title.'</h3><br/>'.$package1_features.'<br /></td>
   </tr>
  <tr>
    <td align="center" bgcolor="#E6E6E6"><h3>'.$package1_price.'</h3></td>
   </tr>
  <tr>
    <td align="center" bgcolor="#F4F4F4">'.$package1_duration.'</td>
   </tr>
  <tr>
    <td colspan="3" align="left">*5 % General Sales Tax apllies to all purchases.</td>
  </tr>

</table>

<table width="660" border="0" align="left" cellpadding="2" cellspacing="0">
  <tr>
    <td height="10" align="left"><br /><br /><strong>IMPORTANT NOTE : '.$domain_name.'</strong> is available for purchase on '.$dated1.'. <strong>
<br />Domain Availability</strong> is subject to International Market Purchases &amp; Global Domain Competition.</td>
  </tr>
</table>
<table width="660" border="0" align="left" cellpadding="2" cellspacing="0">
  <tr>
    <td height="10">'.$line.'</td>
  </tr>
</table>
<table width="660" border="0" align="left" cellpadding="2" cellspacing="0">
  <tr>
    <td width="355" height="10"><br /><br />Looking Forward,<br />
i2d Marketing Department<br />
<strong>marketing@i2dtechnologies.com</strong></td>
    <td width="235" align="right">&nbsp;</td>
  </tr>
</table>

';

////////////////////////////////////////////




/// PART 2

$html = ''.$inv_header.'';

$html .='
'.$opening_letter.''.$price_tables.'


<!--table Ends-->
';

//$html .=''.$costing.'';




// output the HTML content
$pdf->writeHTML(utf8_encode($html), true, 0, true, 0);

include_once('tcpdf_bottom3.php');



?>