{* $Id: tiki-listmovies.tpl 17630 2009-03-26 03:37:22Z luciash $ *}

{title}{tr}List Movies{/tr}{/title}

{tr}Those movies are very good tutorials of tikiwiki use. They have been generated by siridhar with camtasia studio for public use ! Thanks to him. The up-to-date list of movies is on{/tr} <a href="http://tikiwiki.org/TikiMovies">TikiMovies</a>.

<br /><br />

<form>
  {tr}Choose a movie{/tr} :
  <select name="movie">
    {foreach key=k item=swf from=$movies}
      <option value="{$swf}"{if $swf eq $movie} selected="selected"{/if}>{$swf|replace:".swf":""}</option>
    {/foreach}
  </select>
  <input type="submit" name="action" value="{tr}Display{/tr}">
</form>

{if $movie}
  <div class="cbox">
    <div class="cbox-title">{$movie}</div>
    <div class="cbox-data">
      <center>
        <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" id="myMovieName" width="{$movieWidth}"  height="{$movieHeight}">
          <param name="movie" value="tikimovies/controller.swf?csConfigFile=tikimovies/{$movie|replace:".swf":".xml"}">
          <param name="quality" value="high">
          <param name="bgcolor" value="#FFFFFF">
          <param name="FlashVars" value="csConfigFile=tikimovies/{$movie|replace:".swf":".xml"}">
          <embed src="tikimovies/controller.swf?csConfigFile=tikimovies/{$movie|replace:".swf":".xml"}" FlashVars="csConfigFile=tikimovies/{$movie|replace:".swf":".xml"}" quality="high" bgcolor="#FFFFFF" width="{$movieWidth}" height="{$movieHeight}" type="application/x-shockwave-flash" pluginspace="http://www.macromedia.com/go/getflashplayer">
          </embed>
        </object>
      </center>
    </div>
  </div>
{/if}
