<?php
	$boom2='';
	$topcat22='';
	$Dfirstname=  '';
	$Dlastname=  '';
	
	$text_account34=  '';
	
	$jedID2U=3;
	
	if (isset($_POST['text_account34'])) {
	  	$text_account34=$_POST['text_account34'];
	}
	
	if($text_account34 >0){
		
		
	include('viewcohartups.php');	
		$topcat22=$display_blockRA92;
	}
	
	
	
	

	   $sql33a800 ="SELECT * FROM $table_name36 WHERE salesrep_id='$text_account3' AND status='1' ORDER BY lastname ";
	             $result33a800 = @mysqli_query($connection,$sql33a800) or die(mysqli_error($connection));
	   while ($row112a800 = mysqli_fetch_array($result33a800)) {
	  $Rep[1]=  $row112a800['customer_id'];
	  $Rep[2]=  $row112a800['firstname'];
	  $Rep[3]=  $row112a800['lastname'];
	  $Rep[4]=  $row112a800['telephone'];
	 // $Rep[5]=  $row112a800['van5'];
	 // $Rep[6]=  $row112a800['van6'];
	  //  $sign_date=  $row112a800['sign_date'];
	 //    $signD=  $row112a800['sign_date'];
	//   $signD=date("m/d/Y", strtotime("$signD"));
	//      $mapD=  $row112a800['map_id'];




	 $boom2 .= "
	 <tr>
	<td>$Rep[1]</td>
	<td>$Rep[2]</td>
	<td>$Rep[3]</td>
	<td>$Rep[4] </td>
	<td><FORM  name=\"formcheck\"  METHOD=\"POST\" ACTION=\"$badboy\">
	                <input type=\"hidden\" name=\"text_account34\" value=\"$Rep[1]\"  />
	                <button class=\"fsSubmitButtonsmall\" type=\"input\">View Roadmap</button>
	         </form>
	
	<FORM  name=\"formcheck\"  METHOD=\"POST\" ACTION=\"$badboy\">
		                <input type=\"hidden\" name=\"text_account34\" value=\"$Rep[1]\"  />
		 <input type=\"hidden\" name=\"showchart\" value=\"$showchart\"  />
		                <button class=\"fsSubmitButtonsmall\" type=\"input\">View upload</button>
		         </form></td>


	</tr>
	 ";



	  }


	$topcat22.= "

	<table class=\"sortable\" id=\"RE\"> <thead> <tr>
	<td class=\"filterable\">ID #</td>
	<td class=\"filterable\">First Name</td>
	<td class=\"filterable\">Last Name</td>
	<td class=\"filterable\">Phone #</td>
	<td class=\"filterable\">Action</td>


	</tr></thead><tbody>
	<tr class=\"filter\">
	<td align=\"left\"><input type=\"text\" name=\"filter_req\" value=\"\" size=\"6\" onkeyup=\"Table.filter(this,this)\"/></td>
	<td align=\"left\"><input type=\"text\" name=\"filter_req0\" value=\"\" size=\"6\" onkeyup=\"Table.filter(this,this)\"/></td>
	<td align=\"left\"><input type=\"text\" name=\"filter_req1\" value=\"\" size=\"10\" onkeyup=\"Table.filter(this,this)\"/></td>
	<td align=\"left\"><input type=\"text\" name=\"filter_req2\" value=\"\" size=\"10\" onkeyup=\"Table.filter(this,this)\"/></td>
	<td align=\"left\"><input type=\"text\" name=\"filter_comment\" value=\"\" size=\"10\" onkeyup=\"Table.filter(this,this)\"/></td>



	</tr>$boom2</tbody></table>";

?>