visuals ideas

This commit is contained in:
Ulf Gebhardt 2014-06-25 01:57:34 +02:00
parent b47e2c1d69
commit 7335284f76
2 changed files with 65 additions and 4 deletions

View File

@ -12,6 +12,14 @@ class wizard_visuals extends SYSTEM\PAGE\Page {
public function html(){
$vars = json_decode(charcreation::data(),true)['result'];
if($vars['char_race'] == 'undead'){
$vars['char_race'] = 'scourge';}
$vars['char_equip'] = '';//'1,110744,3,109807,16,111412,5,111190,9,111188,10,126342,6,110003,7,120793,8,115217,21,125312,14,110641';//
$vars['char_skincolor'] = 1;
$vars['char_horn'] = 0;
$vars['char_face'] = 5;
$vars['char_facial_hair'] = 5;
$vars['char_horn_color'] = 3;
$vars['js'] = $this->js();
$vars['css'] = $this->css();
$vars['WOWICONS'] = \SYSTEM\CONFIG\config::get(\SYSTEM\CONFIG\config_ids::SYS_CONFIG_PATH_BASEURL).'api.php?call=files&cat=wowicons&id=';

View File

@ -1,16 +1,69 @@
<div style="float:left;">
<object data="http://static.wowhead.com/modelviewer/ModelView.swf" width="290px" height="400px" type="application/x-shockwave-flash">
<div style="float:left; width: 64px; height: 400px; padding-top: 5px;">
<img src="${WOWICONS}help_questionmark.png" width="48px" style="padding-bottom: 5px;"/><br/>
<img src="${WOWICONS}help_questionmark.png" width="48px" style="padding-bottom: 5px;"/><br/>
<img src="${WOWICONS}help_questionmark.png" width="48px" style="padding-bottom: 5px;"/><br/>
<img src="${WOWICONS}help_questionmark.png" width="48px" style="padding-bottom: 5px;"/><br/>
<img src="${WOWICONS}help_questionmark.png" width="48px" style="padding-bottom: 5px;"/><br/>
<img src="${WOWICONS}help_questionmark.png" width="48px" style="padding-bottom: 5px;"/><br/>
<img src="${WOWICONS}help_questionmark.png" width="48px" style="padding-bottom: 5px;"/><br/>
<img src="${WOWICONS}help_questionmark.png" width="48px" style="padding-bottom: 5px;"/>
</div>
<div style="float:left; width: 290px; height: 400px; padding-top: 0px;">
<h4>${char_name}</h4>
<object type="application/x-shockwave-flash" style="outline: none; visibility: visible;" data="//wow.zamimg.com/modelviewer/ZAMviewerfp11.swf" width="100%" height="100%" id="paperdoll-model-paperdoll-0-equipment-set">
<param name="wmode" value="direct">
<param name="quality" value="high">
<param name="allowscriptaccess" value="always">
<param name="allowfullscreen" value="true">
<param name="menu" value="false">
<param name="flashvars" value="model=${char_race}${char_gender}&amp;modelType=16&amp;cls=1&amp;equipList=${char_equip}&amp;sk=${char_skincolor}&amp;ha=${char_horn}&amp;hc=${char_horn_color}&amp;fa=${char_face}&amp;fh=${char_facial_hair}&amp;fc=8&amp;mode=3&amp;contentPath=//wow.zamimg.com/modelviewer/&amp;hd=true">
</object>
<!-- <object data="http://static.wowhead.com/modelviewer/ModelView.swf" width="290px" height="400px" type="application/x-shockwave-flash">
<param value="high" name="quality" />
<param value="transparent" name="wmode" />
<param value="always" name="allowsscriptaccess" />
<param value="false" name="menu" />
<param name="flashvars" value="model=${char_race}${char_gender}&amp;modelType=16&amp;contentPath=http://static.wowhead.com/modelviewer/&amp;blur=1&amp;equipList=1,1117" />
<param movie="http://static.wowhead.com/modelviewer/modelviewer_scale.swf?4" />
</object>
</object>-->
<img src="${WOWICONS}help_questionmark.png" width="48px" style="margin-left: 45px; float: left;"/>
<img src="${WOWICONS}help_questionmark.png" width="48px" style="margin-left: 5px; float: left;"/>
<img src="${WOWICONS}help_questionmark.png" width="48px" style="margin-left: 45px; float: left;"/>
</div>
<div style="float:left; width: 64px; height: 400px; padding-top: 5px; padding-left: 16px;">
<img src="${WOWICONS}help_questionmark.png" width="48px" style="padding-bottom: 5px;"/><br/>
<img src="${WOWICONS}help_questionmark.png" width="48px" style="padding-bottom: 5px;"/><br/>
<img src="${WOWICONS}help_questionmark.png" width="48px" style="padding-bottom: 5px;"/><br/>
<img src="${WOWICONS}help_questionmark.png" width="48px" style="padding-bottom: 5px;"/><br/>
<img src="${WOWICONS}help_questionmark.png" width="48px" style="padding-bottom: 5px;"/><br/>
<img src="${WOWICONS}help_questionmark.png" width="48px" style="padding-bottom: 5px;"/><br/>
<img src="${WOWICONS}help_questionmark.png" width="48px" style="padding-bottom: 5px;"/><br/>
<img src="${WOWICONS}help_questionmark.png" width="48px" style="padding-bottom: 5px;"/>
</div>
<div style="float:left; width: 265px; height: 435px; margin-top: 5px; padding-top: 5px; margin-left: 5px;padding-left: 5px; border: solid back 1px; background: rgba(0,0,0,0.5);">
<img src="${WOWICONS}help_questionmark.png" width="48px" style="padding-bottom: 5px;"/>
<img src="${WOWICONS}help_questionmark.png" width="48px" style="padding-bottom: 5px;"/>
<img src="${WOWICONS}help_questionmark.png" width="48px" style="padding-bottom: 5px;"/>
<img src="${WOWICONS}help_questionmark.png" width="48px" style="padding-bottom: 5px;"/>
<img src="${WOWICONS}help_questionmark.png" width="48px" style="padding-bottom: 5px;"/>
<img src="${WOWICONS}help_questionmark.png" width="48px" style="padding-bottom: 5px;"/>
<img src="${WOWICONS}help_questionmark.png" width="48px" style="padding-bottom: 5px;"/>
<img src="${WOWICONS}help_questionmark.png" width="48px" style="padding-bottom: 5px;"/>
<img src="${WOWICONS}help_questionmark.png" width="48px" style="padding-bottom: 5px;"/>
<img src="${WOWICONS}help_questionmark.png" width="48px" style="padding-bottom: 5px;"/>
<img src="${WOWICONS}help_questionmark.png" width="48px" style="padding-bottom: 5px;"/>
<img src="${WOWICONS}help_questionmark.png" width="48px" style="padding-bottom: 5px;"/>
<img src="${WOWICONS}help_questionmark.png" width="48px" style="padding-bottom: 5px;"/>
<img src="${WOWICONS}help_questionmark.png" width="48px" style="padding-bottom: 5px;"/>
<img src="${WOWICONS}help_questionmark.png" width="48px" style="padding-bottom: 5px;"/>
<img src="${WOWICONS}help_questionmark.png" width="48px" style="padding-bottom: 5px;"/>
</div>
<div>
${char_skincolor}${char_horn}${char_horn_color}${char_face}${char_facial_hair}
</div>
<div class="lifecraft link-color" id="details_info" style="float: left; margin-top: 15px; width: 190px; height: 300px; overflow-y: hidden; padding: 8px; font-size: 14px;">
<h3><img src="${WOWICONS}help_questionmark.png" width="25px"/>&nbsp;&nbsp;Info</h3>
<div id="info_content">${infotext_default}</div>
</div>
<div class="clear"></div>
<div id="frame_content_toolbar" style="margin-top: 50px; height: 75px;">${wizard_visuals_toolbar}</div>
<div id="frame_content_toolbar" style="margin-top: 100px; height: 75px;">${wizard_visuals_toolbar}</div>