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

include_once('tcpdf_proposal_fetch_invite.php');

require_once('tcpdf_include.php');



$file_title="Special Invite";
$doc_title="Industry Dailogue with Omer Iqbal";
$doc_keywords="talk show";
$doc_sub="Industry Dialogue with Omer Iqbal";

$string = htmlentities($session_detail, null, 'utf-8');
$content = str_replace(" ", "", $string);
$content = html_entity_decode($string);

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

include_once('tcpdf_bottom.php');



$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"><h3>
    '. $person_name .'<br />
    <span style="color:white;">..</span>'. $organization_name .'</h3></td>
    <td width="370" align="right"></td>
  </tr>
  <tr>
    <td align="right"><h4>Dated: '. $dated1 .'</h4></td>
  </tr>
  
</table><br /><br /><br /><br />
';

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

$opening_letter='
<table width="100%" border="0" align="center" cellpadding="2" cellspacing="0">
  <tr>
    <td height="10" align="center"><h2 style="color:purple;">Special Invitation as Guest Speaker for <strong>"Industry Dialogue - with Omer Iqbal"</strong></h2>
	<h3>'. $interview_date .' '. $interview_time .'</h3>
	</td>
  </tr>
  <tr>
    <td height="10"><br /><br /><br />Assalam O Alaikum!<br />
      <br />
    I am pleased to invite you as guest speaker on my <strong>Zoom Meeting Show</strong><br />
    <br />
	<strong>Industry Dialogue</strong> focuses on various trends and practices in the Services & Manufacturing Industries of the world.<br /> 
    <br />
	This Show aims at educating the startups as well as existing businesses on latest techniques and methods.
     <br />
    </td>
  </tr>
</table>
';

$topic='
<table width="100%" border="0" align="center" cellpadding="2" cellspacing="0">
  <tr>
    <td height="10"><br />The <strong>Topic for this Session</strong> is<br />
    <h3>'. $topic .'</h3> <br /> 
    <br />
	The Following is the rundown and the interview / session segments :-
	<br /><br /><br /></td>
  </tr>
</table>
';

$lists='

<table width="100%" border="0" cellpadding="3" cellspacing="0">
<tr>
<td>
<p>- Introduction by Host</p>
<p><b>- Question : </b> '. $q1 .'</p>
<p><b>- Question :</b>  '. $q2 .'</p>
<p><b>- Question :</b>  '. $q3 .'</p>
</td>

<td>
<p><b>- Question : </b> '. $q4 .'</p>
<p><b>- Question : </b> '. $q5 .'</p>
<p>- Thank you Remarks by Host</p>
</td>
</tr></table>

';



$segments='
<table width="100%" border="0" cellpadding="2" cellspacing="0">
  <tr>
    <td height="10">
    '. str_replace("&nbsp;", "", $session_detail) .'<br /> 
    <br /><br />
	We look forward to your valuable time and participation in this interactive session.<br /><br />
	Please let us know your availability and schedule for this special interview '. ucwords(strtolower($interview_date)) .'.<br/ ><br/ >
	Profound Regards,<br/ >
	Raja Omer Iqbal
	<br />
	<i>Industry Dialogue - With Omer Iqbal</i>
    <br /></td>
  </tr>
</table>
';



/// PART 2

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

$html .='
'.$opening_letter.''.$topic.''.$lists.''.$segments.'


<!--table Ends-->
';

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




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

include_once('tcpdf_bottom_id.php');



?>