Exemplo n.º 1
0
    echo "<td width='30%'>Name</td>";
    echo "<td>Description</td>";
    echo "</tr>";
    // print out the plan information
    $business_plan = $myUser->get_business_plan_information($user_name);
    //		echo "<form action='delete_business_plan.php' method='post'>";
    for ($i = 0; $i < $number_of_business_plan; $i++) {
        echo "<tr>";
        echo "<td width='30%' style='font-size: 20px; text-align: center;'><a href='BusinessPlan.php?action=" . $business_plan[$i][0] . "'>" . $business_plan[$i][1] . "</a></td>";
        echo "<td style='font-size: 18px'>" . $business_plan[$i][2] . "</td></tr>";
    }
    echo "</table></td>";
    echo "</tr>";
    echo "</table>";
    //disconnect the database;
    $myUser->disconnect();
    ?>
<form action="add_new_business_plan.php" method="post" >
    	 
	
	
    <table width="80%" align="center">
      <tr>
    	<td style="text-align: center; font-size: 36px;">Add a new Business Plan</td>
  	  </tr>
      <tr>
      	<td><table width="100%">
      	  <tr>
      	    <td width="40%" style="text-align: right; font-size: 24px;">Business Plan Name:</td>
      	    <td><input type="text" name="business_plan_name" style="width: 100;  font-size: 20px" /></td>
   	      </tr>