( ′∀`)σ≡σ☆))Д′)レ(゚∀゚;)ヘ=З=З=Зε≡(ノ´_ゝ`)ノ
<style>
/*.dec {
float:left
}
.buttons {
}
*/
.thumbnail{
width:100px;
position:relative;
float:left;
margin-right:5px;
margin-left:5px;
margin-top:5px
}
.thumbnail img{
max-width:100%;
}
.thumbnail h5{
position:absolute;
top:50%;
text-shadow: 2px 2px #666;
left:0;
color:#fff;
width:100%;
text-align:center;
transform:translateY(-50%);
margin:0;
}</style>
<script>
function myFunction() {
var x = document.getElementById("mySelect").value;
document.getElementById("fontIt").innerHTML = " | Font:" + x;
}
</script>
<div class="col-sm-12 ">
<section class="panel ">
<div class="panel-body m-b-lg " style="padding:2px; padding-bottom:0px text-align:center">
<span id="theComments">
<div class="padder"> <input id="update" disabled="disabled" name="update" class="form-control m-t " value="<?php echo $text ?>" type="text">
<input id="updateUrl" name="updateUrl" res="me" class="form-control updateUrl" value="" type="hidden">
<input id="mytheme" name="mytheme" class="form-control" value="<?php echo $msg_id2 ?>" type="hidden">
</div>
<table width="100%" class="m-l m-t ">
<tr>
<td width="200" >
<div class="input-group input-s pull-left m-l m-t numbers-row " style="width:300px"> <span class="input-group-addon input-sm "> Font</span>
<select name="setHAlignment" class="form-control setHAlignment input-sm" style="width:85px; font-size:12px" id="setHAlignment">
<option selected="selected" value="<?php echo $text_align; ?>"><?php echo $text_align; ?></option>
<option value="left">Left</option>
<option value="center">Center</option>
<option value="right">Right</option>
</select>
</div>
<div class="form-group form-inline ">
<?php /*?>
<div class="dropMe">
<div id="dd" class="dropdownit-3" tabindex="1">
<span>Transport</span>
<ul class="dropdown">
<li><a href="#" id="classic "><i class="icon-envelope icon-large"></i>Classic mail</a></li>
<li><a href="#"><i class="icon-truck icon-large"></i>UPS Delivery</a></li>
<li><a href="#"><i class="icon-plane icon-large"></i>Private jet</a></li> <li><a href="#"><i class="icon-envelope icon-large"></i>Classic mail</a></li>
<li><a href="#"><i class="icon-truck icon-large"></i>UPS Delivery</a></li>
<li><a href="#"><i class="icon-plane icon-large"></i>Private jet</a></li>
</ul>
</div>
</div> <?php */?>
<?php $MyFont = ucwords($font_Text);
$MyFont = str_replace(".otf"," ",$MyFont);
$MyFont = str_replace(".ttf"," ",$MyFont);?>
<div class="dropMe">
<div id="dd" class="dropdownit-3" tabindex="1">
<span>Font: <?php echo $font_Text; ?></span>
<ul class="dropdown">
<?php
$dirPath = dir('assets/fonts');
$imgArray = array();
while (($file = $dirPath->read()) !== false)
{
$imgArray[ ] = trim($file);
}
$dirPath->close();
sort($imgArray);
$c = count($imgArray);
for($i=0; $i<$c; $i++)
{
$string = ucwords($imgArray[$i]);
/* $string = str_replace(".otf","",$string);
$string = str_replace(".ttf","",$string);
$string = str_replace("_0","",$string);
$string = str_replace("-"," ",$string);
$string = str_replace("_"," ",$string);
$string = str_replace(".OTF","",$string);
$string = str_replace(".TTF","",$string);*/
$string = ucwords($string);
echo '<li><a href="#" id="classic "><i class="icon-font icon-large"></i>'. $imgArray[$i] .'</a></li>';
}
?>
</ul>
</div>
</div>
</div> </td>
<td width="50" align="right" style="padding-right:25px" > <div class="form-group form-inline "> <button class=" btn-sm upload-image btn btn-white" id="" data-url="uploadElements.php?themeid=<?php echo $msg_id2 ?>&catalogid=<?php echo $catalogid5 ?>"><i class="icon-font"></i> Add Font</button>
</div>
</td>
</tr> </table>
<div class="b-b"></div>
</span>
<?php include("pages/nav/properties.php"); ?>
<?php include("pages/nav/properties2.php"); ?>
<?php /*?> end <?php */?>
</div> <a class="active-layer-src font-italics " target="_blank" style=" font-style:italic; font-size:9px;color:#000; display:none" href="#">Layer src</a>
</section>