コード例 #1
0
ファイル: moulinette.php プロジェクト: rakotobe/Rakotobe
		
?>
        <table  style="width: 875px; margin-left: 1px;" border="1" cellpadding="0" cellspacing="0">
          <tr align="center">
            <th align="left" width="40px">Num</th>
            <th align="left"><a href="?order=nom">Fichier</a></th>
            <th align="left" width="100px"><a href="?order=mtp_zDateCreation">Date de création</a></th>
            <th width="80px">Emails initiale</th>
            <th width="80px">Email Valide</th>
            <th width="40px">Suppr</th>
          </tr>
<?php 	foreach($oDatas as $ikey=>$datas){
			$iNbml 		= CTableMoultmp::get_iEmail($datas['mtp_iListId']);
			$zDate 		= CTableMoultmp::select_date($datas['mtp_iListId']);
			$iNbmlVl 	= CTableMoulGp::get_iEmail($datas['mtp_iListId']);
			$zFichier	= CTableMoulListe::get_nom_by_id($datas['mtp_iListId']);
?>
			<tr>
	            <td><?php echo$ikey+1;?></td>
	            <td><?php echo $zFichier ;?></td>
	            <td><?php echo CDate::date_switch(CDate::formate_date($zDate));?></td>
	            <td><?php echo $iNbml;?></td>
	            <td><?php echo $iNbmlVl;?></td>
	            <td>
<?php 	if($a == 3 ){ 
			if($datas['mtp_iListId'] == $zFic){?> 
				<a href='?a=33&fic=<?php echo $datas['mtp_iListId'];?>' title='suppr'>ok?</a>
<?php 		}
			else {?>
				<a href='?a=3&fic=<?php echo $datas['mtp_iListId'];?>' title='suppr'><img src='../img/delete.png' alt='delete' /></a>
<?php 		}
コード例 #2
0
          			<strong>Enregistrer un groupe :</strong>
          			<?php for($c = 0; $c < 194; $c++) echo "&nbsp;";?>
          			<input type="submit" value="Supprimer" />
          		</p>
          		<table  style="width: 875px; margin-left: 1px;" border="1" cellpadding="0" cellspacing="0">
	          		<tr align="center">
			            <th align="left" width="40px"><a href="?order=id">Id</a></th>
			            <th align="left"><a href="?order=nom">Fichier</a></th>
			            <th width="80px">Date d'ajout</th>
			            <th title="suppr" width="40px"> Suppr </th>
			            <th width="80px">Checkbox</th>
	          		</tr>
<?php 		foreach($oFics as $ik=>$fics){?>	         
	          		<tr>
				      	<td><?php echo $fics['tmp_id'];?></td>
				      	<td><?php echo CTableMoulListe::get_nom_by_id($fics['tmp_fic']);?></td>
				      	<td><?php echo CDate::date_switch(CDate::formate_date($fics['tmp_date']));?></td>
				      	<td><a href='?a=555&idtmp=<?php echo $fics['tmp_id'];?>' title='suppr'><img src='../img/delete.png' alt='delete' /></a></td>
				      	<td><input class="caseacocher" name="tab_fic[<?php echo $ik ?>]" type="checkbox" id="tab_fic[<?php echo $fics['tmp_id'] ?>]" value="<?php echo $fics['tmp_id'];?>" /></td>
				      	<input type="hidden" name="igp" value="<?php echo $fics['tmp_grp'];?>" />
	          		</tr>
<?php 		}?>	        
          		</table>
       		</form>  
<?php 	}?>
	  	<!-- InstanceEndEditable -->
	  	</div>
    </div>
    <hr class="clearfloat" />
  </div>
</div>
コード例 #3
0
ファイル: moul_groupe.php プロジェクト: rakotobe/Rakotobe
<form action="" method="post" tmt:validate="true">	  
	  <table  style="width: 875px; margin-left: 1px;" border="1" cellpadding="0" cellspacing="0">
          <tr align="center">
            <th align="left" width="40px">Num</th>
            <th align="left" width="200px"><a href="?order=nom">Fichier initial CSV</a></th>
            <th align="left" width="80px"><a href="?order=mlt_zDateCreation">Date de création</a></th>
            <th width="55px">Email Valide</th>
            <th title="suppr" width="40px"> Suppr </th>
            <th width="150px">groupe</th>
            <th width="50px">CheckBox</th>
          </tr>
<?php 			foreach($tMGp as $ik=>$moulsgrps){
					$iMV = CTableMoulGp::get_iEmail($moulsgrps['mlt_iListId']);
					$date= CTableMoulGp::select_date_fic($moulsgrps['mlt_iListId']);
					$tgps = CTableMoulGpFic::get_elm_of_fic($moulsgrps['mlt_iListId']);
					$nomfic = CTableMoulListe::get_nom_by_id($moulsgrps['mlt_iListId']);
?>
          <tr>
          	<td><?php echo $ik+1;?></td>
          	<td><?php echo $nomfic;?></td>
          	<td><?php echo CDate::date_switch(CDate::formate_date($date)); ?></td>
          	<td><a href="moul_mail_valide.php?iMltListId=<?php echo $moulsgrps['mlt_iListId'] ; ?>"><?php echo $iMV;?></a></td>
          	<td>
<?php 			include('moul_delete_ficgrp.php');?>
          	</td>
          	<td><?php if($tgps) echo CTableGrpMl::get_elm($tgps); else echo "<a>not in group</a>";?></td>
          	<td>
        		<?php if(!$tgps){?>
        		<input class="caseacocher" name="tab_fic[<?php echo $ik ?>]" type="checkbox" id="tab_fic[<?php echo $ik ?>]" value="<?php echo $moulsgrps['mlt_iListId'];?>" />
        		<?php }?>
        		<?php if($tgps) {?>