<?php header('Content-Type: text/xml; charset=utf-8');

require_once('../../global.inc.php');
echo '<?xml version="1.0" encoding="utf-8" ?>';
$IMConfig['base_url'] = $_configuration['root_web'].'main/img/gallery/';

function loadCSS($css_name){
	$template_css = '<style type="text/css">'.file_get_contents(api_get_path(SYS_PATH).'main/css/'.$css_name.'/course.css').'</style>';
	$template_css=str_replace('images/',api_get_path(WEB_PATH).'main/css/'.$css_name.'/images/',$template_css);
	return $template_css;
}
$css = loadCSS('default');

?>
<Templates imagesBasePath="fck_template/images/">
	<Template title="模板1" image="thumb1.png">
		<Description></Description>
		<Html>
			<![CDATA[
					<?php echo $css ?>
				    <div class="dokeos_course" id="presentation">
						<div id="header_template">
							<div id="box_title">
								<h1>标题</h1>
								<h2>子标题</h2>
							</div>
						</div>
						<div id="text_presentation">
							<p><img src="<?php echo $_configuration['root_web']; ?>main/img/gallery/speech.png" alt="speech" class="left" />第一部分内容</p>
							<p>第二部分内容<br><br></p>
					    </div>
						<div id="footer_template">
						</div>
					</div>
			]]>
		</Html>
	</Template>
	<Template title="模板2" image="thumb2.png">
		<Description></Description>
		<Html>
			<![CDATA[
					<?php echo $css ?>
				    <div class="dokeos_course" id="explanation">
						<div id="header_template">
							<div id="box_title">
								<h1>标题</h1>
								<h2>子标题</h2>
							</div>
						</div>
						<div id="body_explanation">
							<div id="menu_explanation">
								<dl>
								<dt>菜单:</dt>
								<dd><a href="#nogo" title="菜单 1">菜单 1</a>
								</dd><dd><a href="#nogo" title="菜单 2">菜单 2</a>
								</dd><dd><a href="#nogo" title="菜单 3">菜单 3</a>
								</dd><dd><a href="#nogo" title="其他...">其他...</a>
								</dd></dl>
							</div>
							<div id="text_explanation">
								<p>第一部分内容<br><br></p>
								<p>第二部分内容<br><br></p>
						    		<p>第三部分内容<br><br></p>
						    </div>
						</div>
						<div id="footer_template">
						</div>
					</div>
			]]>
		</Html>
	</Template>
	<Template title="模板3" image="thumb3.png">
		<Description></Description>
		<Html>
			<![CDATA[
					<?php echo $css ?>
					<div class="dokeos_course" id="course_objectives">
						<div id="header_template">
							<div id="box_title">
								<h1>标题</h1>
								<h2>子标题</h2>
							</div>
						</div>
						<div id="text_course_objectives">
							<ul id="objectives_template">
							<li>第一部分<br />
							<span class="comment_objective">内容</span>
							</li>
							<li>第二部分<br />
							<span class="comment_objective">内容</span>
							</li>
							<li>第三部分<br />
							<span class="comment_objective">内容</span>
							</li>
							</ul>
						</div>
						<div id="footer_template">
						</div>
					</div>		
			]]>
		</Html>
	</Template>
	<Template title="模板4" image="thumb4.png">
		<Description></Description>
		<Html>
			<![CDATA[
					<?php echo $css ?>
				    <div class="dokeos_course" id="activity_proposal">
						<div id="header_template">	
							<div id="box_title">				
							<h1>标题</h1>
							<h2>子标题</h2>
							</div>
						</div>		
					<div id="body_proposal">			
						<div id="menu_proposal">		
						<dl>
							<dt>菜单</dt>
								<dd>1) 菜单 1</dd>
				  				<dd>2) 菜单 2</dd>
				  				<dd>3) 菜单 3</dd>
						</dl>
						</div>
						<div id="text_proposal">				
						<p>第一部分内容<br><br></p>
						<p>第二部分内容<br><br></p>
						</div>
					</div>		
					<div id="footer_template">
					</div>
				</div>
			]]>
		</Html>
	</Template>
	<Template title="模板5" image="thumb5.png">
		<Description></Description>
		<Html>
			<![CDATA[
					<?php echo $css ?>
				    <div class="dokeos_course" id="think_about">
						<div id="header_template">			
							<div id="box_title">	
							<h1>标题</h1>				
							<h2>子标题</h2>
							</div>
						</div>		
						<div id="text_course_think">			
							<ul id="think_about_list">
					  			<li>问题 1</li>
					  			<li>问题 2</li>
					  			<li>问题 3</li>
							</ul>
							<div id="think_forum">论坛
							</div>
						</div>
						<div id="footer_template">
						</div>
					</div>
			]]>
		</Html>
	</Template>
	<Template title="模板6" image="thumb6.png">
		<Description></Description>
		<Html>
			<![CDATA[
					<?php echo $css ?>
				    <div class="dokeos_course" id="colaborative_activity">
						<div id="header_template">			
							<div id="box_title">	
							<h1>标题</h1>
							<h2>子标题</h2>
							</div>
						</div>
						<div id="text_colaborative_activity">			
							<dl id="list_colaborative">
					  			<dt>任务:</dt>
								<dd>
					    		<p>内容</p>
					  			</dd>
								<dt>如何做:</dt>
								<dd>
					    		<p>内容</p>
					  			</dd>			
							</dl>
						</div>
						<div id="footer_template">
						</div>
					</div>
			]]>
		</Html>
	</Template>
	<Template title="模板7" image="thumb7.png">
		<Description></Description>
		<Html>
			<![CDATA[
					<?php echo $css ?>
				    <div class="dokeos_course" id="unit_overview">
						<div id="header_template">
							<div id="box_title">
								<h1>标题</h1>
								<h2>子标题</h2>
							</div>
						</div>
						<div id="text_unit_overview">
							<span class="content_overview">内容:</span>
							<ul id="list_unit_overview">
								<li>单元 1: 内容
								</li><li>单元 2: 内容
								</li><li>单元 3: 内容<ul class="subunit_overview"><li>3.1. 子单元</li><li>3.2. 子单元</li></ul>
								</li></ul>
					    </div>
						<div id="footer_template">
						</div>
					</div>
			]]>
		</Html>
	</Template>
	<Template title="模板8" image="thumb8.png">
		<Description></Description>
		<Html>
			<![CDATA[
					<?php echo $css ?>
				   <div class="dokeos_course" id="blank_template">
						<div id="header_template">
							<div id="box_title">
								<h1>标题</h1>
							</div>
						</div>
						<div id="text_presentation">
							<p>第一部分内容</p>
							<p>第二部分内容</p>
					    </div>
						<div id="footer_template">
						</div>
					</div>
			]]>
		</Html>
	</Template>
	<Template title="更多模板" image="thumb9.png">
		<Description></Description>
		<Html>
			<![CDATA[
					<?php echo $css ?>
				  	<div class="dokeos_course" id="more_templates">
						<div id="header_template">
							<div id="box_title">
								<h1>标题</h1>
							</div>
						</div>
						<div id="text_presentation">
							<p>请联系我们 <span id="contact_template"><a href="mailto:poopsoft@163.com">poopsoft@163.com</a></span>, 我们将竭诚为您服务.</p>
					    </div>
						<div id="footer_template">
						</div>
					</div>
			]]>
		</Html>
	</Template>
</Templates>


