<?php /* Smarty version Smarty-3.0.6, created on 2012-05-13 11:19:24
         compiled from "C:\wamp\www\dtk18/tpl\collect.html" */ ?>
<?php /*%%SmartyHeaderCode:277004faf283c252e08-75908683%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'ee148146a58c541350a95b2b364519ff4a8a08b6' => 
    array (
      0 => 'C:\\wamp\\www\\dtk18/tpl\\collect.html',
      1 => 1336662481,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '277004faf283c252e08-75908683',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
﻿<!doctype html>
<html lang="zh-cn">
<head>
    <title><?php if ($_smarty_tpl->getVariable('titlepre')->value){?><?php echo $_smarty_tpl->getVariable('titlepre')->value;?>
 -<?php }?> <?php echo $_smarty_tpl->getVariable('title')->value;?>
 <?php echo $_smarty_tpl->getVariable('dtk')->value['site_title'];?>
 - <?php echo $_smarty_tpl->getVariable('dtk')->value['site_titlepre'];?>
</title>
    <meta charset="utf-8" />
    <meta name="author" content="<?php echo $_smarty_tpl->getVariable('dtk')->value['author'];?>
" />
    <meta name="description" content="<?php echo $_smarty_tpl->getVariable('dtk')->value['site_desc'];?>
" />
    <meta name="keywords" content="<?php if ($_smarty_tpl->getVariable('titlepre')->value){?><?php echo $_smarty_tpl->getVariable('titlepre')->value;?>
,<?php }?><?php echo $_smarty_tpl->getVariable('dtk')->value['site_keyword'];?>
" />
    <link rel="shortcut icon" href="<?php echo $_smarty_tpl->getVariable('url')->value;?>
/tpl/image/favicon.ico" type="image/x-icon">
    <link rel="stylesheet" type="text/css" media="screen" href="<?php echo $_smarty_tpl->getVariable('url')->value;?>
/tpl/image/css/collect.css"/>
	<?php $_template = new Smarty_Internal_Template("require_js.html", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
	
</head>

<body>
	<div id="title">收集到我的杂志</div>
	<div id="main">
		<!--<img src="<?php echo avatar(array('uid'=>$_smarty_tpl->getVariable('theuid')->value,'size'=>'middle'),$_smarty_tpl);?>
"/></a>-->
		<div id="left" >
			<?php echo collect(array('item'=>$_smarty_tpl->getVariable('d')->value['body'],'type'=>$_smarty_tpl->getVariable('d')->value['type'],'limit'=>'all','bid'=>$_smarty_tpl->getVariable('d')->value['bid'],'showmedia'=>1),$_smarty_tpl);?>

		</div>
		<!--bid = <?php echo $_smarty_tpl->getVariable('bid')->value;?>
-->
		<form id="collect_form" action="<?php echo $_smarty_tpl->getVariable('url')->value;?>
/index.php?c=main&a=addcollect" method="post" >	
			<div id="right">
				<div >
					<select class="select" type="hidden" name="boid">
						<?php  $_smarty_tpl->tpl_vars['e'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('myBoards')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['e']->key => $_smarty_tpl->tpl_vars['e']->value){
?>
							<option  value="<?php echo $_smarty_tpl->tpl_vars['e']->value['boid'];?>
"><?php echo $_smarty_tpl->tpl_vars['e']->value['boardname'];?>
</option>
						<?php }} ?>
					</select>
				</div>
				<div >
					<textarea class="input" id="aInput" name="title" value="<?php echo $_smarty_tpl->getVariable('d')->value['title'];?>
" onChange="checkValue(this.value)"><?php echo $_smarty_tpl->getVariable('d')->value['title'];?>
</textarea> 
					<!--隐藏域-->
					<input type="hidden" name="bid" value="<?php echo $_smarty_tpl->getVariable('d')->value['bid'];?>
"/>
				</div>
			</div>
		</form>
	</div>
</body>
</html>