Location: PHPKode > projects > Jingho project management > content/content_overview_costumers.php
<?
/*
 * Jingho Projects - Small business project management 
 * Copyright (C) 2010 Gido Carper
 * http://www.jingho-projects.com
 * http://www.jingho.de
 * 
 * thank you for mentioning my name and url on your site if you use this software!
 * 
 * == BEGIN LICENSE ==
 *
 * Licensed under the terms of any of the following licenses at your
 * choice:
 *
 *  - GNU General Public License Version 1.0 or later (the "GPL")
 *    http://www.gnu.org/licenses/gpl.html
 *
 *
 * == END LICENSE ==
 *
 * content holde for the list of costumers 
 */
 
echo '
 <div class="widget-head" >
                    <h3>'.$OVERVIEW_COSTUMERS.'&nbsp;&nbsp;<span id="CostumerInfo"></span></h3><span id="CostumersLastupdated" style="float:right;padding-right:10px;"></span>
                    
                </div>
                <div class="widget-content">
<form action="'.$MAIN_PATH.'actions.php" method="post" target="saveFrame" name="saveCostumerFrame">
				<div  style="color:#ffffff;margin-left:10px;padding-top:10px;display:block;width:500px;">
				

			<div  style="padding-top:10px;padding-bottom:10px;display:block;width:350px;">		
				
				

				</div><br/>
				</div>
				<div style="display:inline-block;width:100%;"><table cellspacing="0" cellpadding="0" class="TableTasksCostumers">
					<tbody>
					<tr>

						<td style="width: 15px;padding-left:10px;">&nbsp;</td>
						<td style="width: 195px;padding-left:3px;"><a href="javascript:SetCostumerSort('.chr(39).'c_name'.chr(39).',true);">'.$OVERVIEW_COSTUMERS_HEADLINE[0].'</a></td>
						<td style="width: 198px;"><a href="javascript:SetCostumerSort('.chr(39).'c_contactperson'.chr(39).',true);">'.$OVERVIEW_COSTUMERS_HEADLINE[1].'</a></td>
						<td style="width: 122px;"><a href="javascript:SetCostumerSort('.chr(39).'c_email'.chr(39).',true);">'.$OVERVIEW_COSTUMERS_HEADLINE[2].'</a></td>
						<td><a href="javascript:SetCostumerSort('.chr(39).'c_telefon'.chr(39).',true);">'.$OVERVIEW_COSTUMERS_HEADLINE[3].'</a></td>
						
						<!--<td><a href="javascript:SetCostumerSort('.chr(39).'c_name'.chr(39).',true);">'.$OVERVIEW_COSTUMERS_HEADLINE[4].'</a></td>
						<td align="right" style="padding-right:10px;">'.$OVERVIEW_COSTUMERS_HEADLINE[5].'</td>//-->
					</tr>
					</table></div>
				<div class="CostumerOverviewList" id="widget-costumers"></div>
				<div style="float:right;margin-right:10px;margin-top:10px;color:#ffffff;font-size:11px;">'.$OVERVIEW_TOTAL.': <span id="totalCostumers" style="font-weight:bold;"></span> '.$OVERVIEW_TOTAL_COSTUMERS.'</div>
				<!--<span style="float:left;margin-right:10px;margin-top:10px;color:#ffffff;font-size:11px;"><a href="javascript:SelectAllCheckboxes('.chr(39).'widget-costumers'.chr(39).',document.saveTaskFrame);OffFoc();"> '.$OVERVIEW_SELECT_ALL.'</a> this is not a good idea to delete all costumers//--> 
				
				
				<p>&nbsp;</p>

				<div style="height:30px;width:100%;overflow:hidden;"  id="widget-costumers-icons">';
				
				
				if ($_SESSION['gid']=='1' || $_SESSION['gid']=='2')
				{
					if ($_SESSION['gid']=='1' )
					{
						echo '<a href="javascript:deleteSelected('.chr(39).'widget-costumers'.chr(39).',document.saveCostumerFrame,'.chr(39).'costumer'.chr(39).','.chr(39).'saveCostumerFrame'.chr(39).');OffFoc();" class="iconRemove" style="position:absolute;margin:5px;margin-left:80px;"></a>';
					}
				}
				
				echo '	<a href="javascript:GetCostumers('.chr(39).'widget-costumers'.chr(39).',false);OffFoc();" class="iconReload" style="position:absolute;margin:5px;margin-left:200px;"  onmouseover="StartFadeIn();ddrivetip('.chr(39).$TOOLTIP_COSTUMEROVERVIEW_RELOAD.chr(39).', 140);" onmouseout="hideddrivetip();"></a>

				<!--<a href="javascript:GetTasks('.chr(39).'widget-costumers'.chr(39).',false);OffFoc();" class="iconBackward" style="position:absolute;margin:5px;margin-left:250px;"></a>
				<a href="javascript:GetTasks('.chr(39).'widget-costumers'.chr(39).',false);OffFoc();" class="iconForward" style="position:absolute;margin:5px;margin-left:280px;"></a>//-->



				</div><br/>

			    
			    <input type="hidden" name="ausgefuellt"  value="ja"/>
			    <input type="hidden" name="costumer_sortby" id="costumer_sortby"  value="c_name"/>
			    <input type="hidden" name="costumer_sortdirection"  id="costumer_sortdirection" value="asc"/>
			    
			    <input type="hidden" name="info_costumer" id="info_costumer"/>
			    <input type="hidden" name="info_costumer_checkbox" id="info_costumer_checkbox"/>			    
			    
                    	</form></div>';

                    ?>                    
Return current item: Jingho project management