All pastes #625522 Raw Edit

Stuff

public text v1 · immutable
·published 2007-07-18 23:59 UTC
rendered paste body
<form action="creativecomments.php" method="POST" name="voting" id="voting">

<input name="categoria" type="hidden" id="categoria" value="<?php echo $row_Categories['cat_id']; ?>" />

<?php do { ?>
    <div class="canditate">
      
      <div class="info_holder">
	    
	    <div class="pic">
        <input name="picid" type="hidden" id="picid" value="<?php echo $row_Creative['Pic_ID']; ?>" />
        <img name="thumbnail" src="../gal_imgs/<?php echo $row_Creative['Gal_Name']; ?>/thumbs/<?php echo $row_Creative['Pic_Pic']; ?>" alt="" /><br />
	    </div>
        
        
        
        <div class="titulo">
		
		<?php
			$picTitle = substr( $row_Creative['Pic_Name'],0,20);
			echo $picTitle; 
			if (strlen($picTitle) >= 20){ echo "&hellip;" ; } 
		?>
		
		
		</div>
        
        
                
        
        <div class="canditate_details">
        
          <div class="country"><img src="../site_images/flags/<?php echo $row_Creative['Gal_Name']; ?>.gif" alt="Flag" width="17" height="11" /><strong><?php echo $row_Creative['Gal_Name']; ?></strong></div>
          
          <div class="media"><strong>Media Agency:</strong> <?php echo $row_Creative['Pic_Media']; ?></div>
          
          <div class="creative"><strong>Creative Agency:</strong> <?php echo $row_Creative['Pic_Creative']; ?></div>
          
          <div class="format"><strong>Format:</strong> <?php echo $row_Creative['Pic_Format']; ?></div>
          
        </div>
        

        
        </div>
        
        
        <div class="voting">
          <fieldset id="<?php echo $row_Creative['Pic_ID']; ?>">
            <input type="radio" value="1" name="cc<?php echo $row_Creative['Pic_ID']; ?>"> 1
            <input type="radio" value="2" name="cc<?php echo $row_Creative['Pic_ID']; ?>"> 2
            <input type="radio" value="3" name="cc<?php echo $row_Creative['Pic_ID']; ?>"> 3
            
        </fieldset>

        </div>
        
        
      </div>
<?php } while ($row_Creative = mysql_fetch_assoc($Creative)); ?>

<p>
	
<?php do { ?>

<?php eval( "\$_POST[\"cc\$row_Creative['Pic_ID']\"];" ); ?>



<?php } while ($row_Creative = mysql_fetch_assoc($Creative)); ?>   

  <input name="vote" type="submit" value="vote" />
</p>
<a href="creativecomments.php">comments</a>
</form>