
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title></title>
<base href='{echo:$siteDomain;/}' />
<link rel="stylesheet" type="text/css" href="skin/default/jooyea/css/iframe.css">
</head>
<body id="iframecontent">
	<div class="create_button"><a href="javascript:window.history.go(-1)" hidefocus="true">{echo:lp{ef_back};/}</a></div>
  <h2 class="app_event">{echo:lp{ef_activity};/}</h2>
  <div class="tabs">
      <ul class="menu">
        <li class="active"><a href="modules.php?app=event_upload_photo&event_id={echo:$event_id;/}" hidefocus="true">{echo:lp{ef_upload_photo};/}</a></li>
      </ul>
  </div>
  
{sta:if($fs)[exc]}
<form action='do.php?act=event_update_photo&id={echo:$event_id;/}' method='post'>
{sta:foreach($fs as $index=>$realtxt)[loop]}
	{sta:$thumb_src=str_replace(dirname(__FILE__),"",$realtxt['dir']).$realtxt['thumb'];/}
	<div class="front_cover"><input type='hidden' name='photo_id[]' value={echo:$realtxt['photo_id'];/} /><img src={echo:$realtxt['dir'];/}{echo:$realtxt['thumb'];/} onerror="parent.pic_error(this)" /></div>
	<div class="album_remark">
	  <p>{echo:lp{ef_p_name};/}</p>
	  <input class="small-text" type='text' name='photo_name[]' value='{echo:preg_replace("/\.\w*$/","",$realtxt['initname']);/}' style="width:100%" />
	</div>
	<div class="album_remark">
	  <p>{echo:lp{ef_p_inf};/}</p>
	  <textarea class="med-textarea" rows='4'  style="width:100%" name='photo_information[]'></textarea>
	</div>
	<div class="blank"></div>
{end:foreach/}
	<input type='submit' name='action' value='{echo:lp{ef_b_con};/}' class='regular-btn'  />
</form>
{end:if/}

{sta:if(!$fs)[exc]}
<div class="guide_info">
	{echo:lp{ef_upload_photos_noncompliant};/}
</div>
{end:if/}
</body>
</html>
