コード例 #1
0
    public function videoFeed()
    {
        // Get latest video
        $video = new Video();
        $data = $video->getFeed();
        if ($data && count($data) > 0) {
            $data = $data[0];
            $videoTitle = $data->video_title;
            // Youtube url
            $urlExt = $data->video_external_link;
            $urlLocal = "";
            if ($urlExt) {
                // Get youtube video id from the url
                // https://www.youtube.com/watch?v=eC__8PbP7sI -> only take the id after v=...
                $subUrl = $this->getYoutubeId($urlExt);
            } else {
                $if = new InputFileModel();
                $path = _SPPATH . $if->upload_url;
                // Only try to load local url if there's no youtube url
                $urlLocal = $path . $data->video_upload;
            }
        }
        ?>
		<div>
			<!-- Video Header -->
			<div id="video_header"
			     class="video_header"
			     style="padding: 10px;">Latest Video
			</div>

			<!-- Video Title -->
			<div class="video_title"
			     style="padding: 10px;"><?php 
        echo $videoTitle;
        ?>
</div>

			<!-- Video Content -->
			<div class="col-md-12">
				<div class="embed-responsive-4by3">
					<!-- Normal video -->
					<video id="player_normal"
					       width="100%"
					       controls
					       src="<?php 
        echo $urlLocal;
        ?>
">
					</video>

					<!-- Youtube -->
					<iframe id="player_youtube"
					        width="100%"
					        height="400px"
					        src="http://www.youtube.com/embed/<?php 
        echo $subUrl;
        ?>
"
					        frameborder="0"
					        allowfullscreen></iframe>
				</div>
			</div>
		</div>

		<style>
			.video_header {
			<?php 
        $bgcolor = ThemeReg::mod("portlet_headbgcolor", "#038563", "color");
        $bgimage = ThemeReg::mod("portlet_headbg", _SPPATH . _THEMEPATH . "/images/h3bg2.jpg", "image");
        $strbgimage = '';
        if ($bgimage != "") {
            $strbgimage = 'background-image: url("' . $bgimage . '");';
        }
        $textcolor = ThemeReg::mod("portlet_headtextcolor", "#fff", "color");
        ?>
 background               : <?php 
        echo $bgcolor;
        ?>
;
			<?php 
        echo $strbgimage;
        ?>
 color : #ffffff;
				font-weight         : bold;
				font-size           : large;
			}

			.video_title {
				color     : #038563;
				font-size : large;
			}
		</style>
		<?php 
        // Hide youtube player if there's no youtube url
        if (!$urlExt) {
            ?>
			<script>
				$("#player_youtube").hide();
			</script>
		<?php 
        }
        if (!$urlLocal) {
            ?>
			<script>
				$("#player_normal").hide();
			</script>
		<?php 
        }
        if (!$urlLocal && !$urlExt) {
            ?>
			<script>
				$("#video_header").hide();
			</script>
		<?php 
        }
    }
コード例 #2
0
    public function printIcons_OLD()
    {
        ?>
        <style>
            .icon-float {
                width: 25%;
                float: left;
                height: 94px;
                cursor: pointer;
            }

            .icon-float img {
                width: 100%;

            // vertical-align : middle;
            // margin : auto;
            }

            @media (max-width: 768px) {
                .icon-float {

                    height: auto;
                }
            }
        </style>
        <?php 
        $bgcolor = ThemeReg::mod("mail_icon_bgcolor", "#6c6143", "color");
        $bgimage = ThemeReg::mod("mail_icon", _SPPATH . _THEMEPATH . "/images/mail-icon.jpg", "image");
        ?>
        <div onclick="document.location='<?php 
        echo _SPPATH;
        ?>
tools?mode=email';" class="icon-float icon-mail" style="background-color:<?php 
        echo $bgcolor;
        ?>
;">
            <img src="<?php 
        echo $bgimage;
        ?>
">
        </div>
        <?php 
        $bgcolor = ThemeReg::mod("learn_icon_bgcolor", "#7a8b69", "color");
        $bgimage = ThemeReg::mod("learn_icon", _SPPATH . _THEMEPATH . "/images/learn-icon.jpg", "image");
        ?>
        <div onclick="document.location='<?php 
        echo _SPPATH;
        ?>
km';" class="icon-float" style="background-color:<?php 
        echo $bgcolor;
        ?>
;">
            <img src="<?php 
        echo $bgimage;
        ?>
">
        </div>
        <?php 
        $bgcolor = ThemeReg::mod("apps_icon_bgcolor", "#75863f", "color");
        $bgimage = ThemeReg::mod("apps_icon", _SPPATH . _THEMEPATH . "/images/apps-icon.jpg", "image");
        ?>
        <div onclick="document.location='<?php 
        echo _SPPATH;
        ?>
webapps';" class="icon-float" style="background-color:<?php 
        echo $bgcolor;
        ?>
;">
            <img src="<?php 
        echo $bgimage;
        ?>
">
        </div>
        <?php 
        $bgcolor = ThemeReg::mod("wiki_icon_bgcolor", "#305029", "color");
        $bgimage = ThemeReg::mod("wiki_icon", _SPPATH . _THEMEPATH . "/images/wiki-icon.jpg", "image");
        ?>
        <div onclick="document.location='<?php 
        echo _SPPATH;
        ?>
tools?mode=wikipedia';" class="icon-float" style="background-color:<?php 
        echo $bgcolor;
        ?>
;">
            <img src="<?php 
        echo $bgimage;
        ?>
">
        </div>
        
       <!-- ads --> 
        <div class="ads">
            <img src="<?php 
        echo _SPPATH;
        ?>
props/home-banner-2.jpg" width="100%">
        </div>
        <div class="ads">
            <img src="<?php 
        echo _SPPATH;
        ?>
props/2.jpg" width="100%">
        </div>
        <div class="ads" style="cursor:pointer;" onclick="document.location='<?php 
        echo _SPPATH;
        ?>
km';">
            <img src="<?php 
        echo _SPPATH;
        ?>
props/3.jpg" width="100%">
        </div>
    <?php 
    }
コード例 #3
0
        <img src="<?php 
echo _SPPATH;
?>
images/kananatas.png" style="width: 60%; margin-left: 10px; margin-top: 20px;" >
    </div>
    <div style="position: absolute; top:0; right:0; width: 300px;" align="right">
        <img src="<?php 
echo _SPPATH;
?>
images/atassatunya.png" style="width: 65%; margin-right: 10px; margin-top: 20px;" >
    </div>
<div class="container">
    <div style=" text-align: center; margin-top: 100px; margin-bottom: 50px;" class="col-md-6 col-md-offset-3">

            <?php 
$bgimage = ThemeReg::mod("logo_desktop", _SPPATH . "images/logo-hybris.png", "image");
?>
        <img src='<?php 
echo $bgimage;
?>
' style="width: 100%;">

        </div>
    <?php 
echo $content;
?>
</div>
<div class="footer">
    <div class="container">
        &copy; www.leap-systems.com
    </div>
コード例 #4
0
            .appear_logo_pages img{
                width: 250px;

            }
            .form-horizontal .control-label{
                padding-right: 10px;
            }


        }
    </style>

    <style>
        <?php 
//load custon css
echo ThemeReg::mod("custom_css", "", "text");
?>
    </style>

<script>
    function OnImageLoad(evt, sq) {


        var img = evt.currentTarget;


        // what's the size of this image and it's parent

        var w = img.width;

        var h = img.height;
コード例 #5
0
    .ads {
        margin-bottom: 5px;
    }

    /* footer*/
    #footer {
        <?php 
$footbgcolor = ThemeReg::mod("footer_bgcolor", "#ffffff", "color");
?>
        background-color: <?php 
echo $footbgcolor;
?>
;
        <?php 
//$bgcolor = ThemeReg::mod("portlet_headbgcolor", "#038563","color");
$bgimage = ThemeReg::mod("footer_bg", '', "image");
$strbgimage = '';
if ($bgimage != "") {
    $strbgimage = 'background-image: url("' . $bgimage . '"); background-repeat: repeat-x;
    background-attachment: fixed;';
}
?>
        
        <?php 
echo $strbgimage;
?>
        color: #494c05;
        margin-top: 20px;
        
        padding-top: 20px;
        padding-bottom: 20px;
コード例 #6
0
        <!-- Brand and toggle get grouped for better mobile display -->
        <div class="navbar-header page-scroll">
            <button type="button" class="navbar-toggle" data-toggle="collapse"
                    data-target="#bs-example-navbar-collapse-1">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <div style="position: absolute; top: 5px; left: 5px;">
                <a href="<?php 
echo _SPPATH;
?>
">
                    <?php 
$bgimage = ThemeReg::mod("logo_mobile", _SPPATH . _THEMEPATH . "/images/h3bg.jpg", "image");
?>
                    <img height="40px" src="<?php 
echo $bgimage;
?>
">
                </a>
            </div>
            <!--<a class="navbar-brand" href="<?php 
echo _SPPATH;
?>
"><img style="height: 20px;" src="<?php 
echo _SPPATH;
?>
images/logo2.png"></a>-->
        </div>
コード例 #7
0
Mold::theme("afterBodyJS");
Mold::theme("ajaxLoader");
?>
<div class="header_mobile monly">
    <!-- Navigation -->
    <nav style="background-color: #000000 !important;" id="myNavmenu" class="navmenu navmenu-default navmenu-fixed-left offcanvas" role="navigation">

        <?php 
ProductCategoryService::processCategoryMobile();
?>

    </nav>
    <div class="navbar navbar-default navbar-fixed-top" style="background-color: #000000 !important;" >
        <div style="float: left; width: 50%; ">
            <?php 
$bgimage = ThemeReg::mod("logo_desktop", _SPPATH . "images/logo_tbs_white.png", "image");
?>
            <div style="margin-top: 15px;margin-left: 10px;">
                <img width="100%" itemprop="logo" src="<?php 
echo $bgimage;
?>
"
                     alt="The Body Shop - Beauty Products inspired by Nature and Ethically made">
            </div>

        </div>

        <button type="button" class="navbar-toggle" data-toggle="offcanvas" data-target="#myNavmenu" data-canvas="body">
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
コード例 #8
0
    public static function portalIndex()
    {
        $ch = new NewsChannel();
        $ch->getDefaultChannel();
        $cat = isset($_GET['cat']) ? addslashes($_GET['cat']) : $ch->channel_id;
        //get channel
        $arrCh = $ch->getWhere("channel_active = 1 AND channel_type = 'content'");
        $limit = 30;
        $np = new NewsPortal();
        $np->default_read_coloms = "news_page_id,news_image,news_id,news_title,news_validity_begin,news_channel_id,news_author";
        $arrEv = $np->getByChannelAndIsValid($cat, " AND news_status = 'publish' ORDER BY news_validity_begin DESC");
        //$jumlah = $np->getJumlahByChannelAndIsValid($cat," AND news_status = 'publish'");
        //pr($arrE);
        //pr($arrE);
        ?>
		<style>
			.news-item {
				height           : 60px;
				background-color : #e8e9d7;
				width            : 100%;
				font-family      : verdana;
				font-size        : 13px;
			}

			.white {
				background-color : #efefef;
			}

			.news-item .nfoto {
				float       : left;
				margin     : 5px;
				width       : 50px;
				height      : 50px;
				overflow    : hidden;
				margin-left : 5px;
			}

			.news-item .nfoto img {

			}

			.news-item .nmessage {
				margin-left : 65px;
				padding-top : 5px;
			}
                        .news-item .nmessage a{
				color:#555;
                                
			}
			.news-containter {
				height     : 332px;
				overflow-y : auto;
			}

			#newsfeed .viewmore {
				background-color : #e8e9d7;
				width            : 100%;
				height           : 40px;
				line-height      : 40px;
				text-align       : center;
				font-weight      : bold;
				letter-spacing   : 2px;
				cursor           : pointer;

			}

			.ago {
				font-style : italic;
				font-size  : 11px;
                                color:#888;
			}

			#newsfeed_category_selector {
				background-color : #dedede;
				padding          : 10px;
			}

			.newsfeed_selectbox {
				float : right;
				color : #555;
			}

			.newsfeed_selectbox select {
			<?php 
        $bgcolor = ThemeReg::mod("portlet_headbgcolor", "#038563", "color");
        $bgimage = ThemeReg::mod("portlet_headbg", _SPPATH . _THEMEPATH . "/images/h3bg2.jpg", "image");
        $strbgimage = '';
        if ($bgimage != "") {
            $strbgimage = 'background-image: url("' . $bgimage . '");';
        }
        $textcolor = ThemeReg::mod("portlet_headtextcolor", "#fff", "color");
        ?>
 background     : <?php 
        echo $bgcolor;
        ?>
;
			<?php 
        echo $strbgimage;
        ?>
 // background : #038563;
				color         : <?php 
        echo $textcolor;
        ?>
;
				border        : 0px;
				text-align    : right;
				padding-right : 10px;
			}

			.newsfeed_selectbox select option {
				text-align : right;
			}
		</style>

		<div class="col-md-8 col-md-offset-2">
			<h1 class="tbsh1"
			    style="margin-bottom:20px;">

				<i class="glyphicon glyphicon-th-large"
				   style="top:5px;"></i>
				<?php 
        echo Lang::t('News');
        ?>
				<div style="float:right;">
					<select class="form-control"
					        id="selectnewsfeed"
					        dir="rtl"
					        onchange="document.location='<?php 
        echo _SPPATH;
        ?>
newsfeed?cat='+$('#selectnewsfeed').val();">
						<?php 
        foreach ($arrCh as $ct => $chna) {
            if (NewsChannel::isSubscribe($chna->channel_id)) {
                ?>
								<option value="<?php 
                echo $chna->channel_id;
                ?>
" <?php 
                if ($cat == $chna->channel_id) {
                    echo "selected";
                }
                ?>
><?php 
                echo $chna->channel_name;
                ?>
</option>
							<?php 
            }
        }
        ?>
					</select>

				</div>

			</h1>

			<?php 
        $gw = new GalleryWeb();
        $activemon = "";
        foreach ($arrEv as $num => $ev) {
            $vname = stripslashes($ev->news_title);
            if (strlen($vname) > 60) {
                $vname = substr($vname, 0, 60) . "...";
            }
            ?>
				<div class="news-item <?php 
            if ($num % 2 == 1) {
                echo 'white';
            }
            ?>
">
					<div class="nfoto">
						<img onload="OnImageLoad(event,50);"
						     src="<?php 
            $url = _SPPATH . $gw->uploadURL . "thumbnail/" . $ev->news_image;
            if (NewsFeedWeb::isExists($url)) {
                echo $url;
            } else {
                echo _SPPATH . $gw->uploadURL . $ev->news_image;
            }
            ?>
">
					</div>
					<div class="nmessage">
						<a href="<?php 
            echo _SPPATH;
            ?>
page?id=<?php 
            echo $ev->news_page_id;
            ?>
"><?php 
            echo $vname;
            ?>
</a>

						<div class="ago">
							<?php 
            echo ago(strtotime($ev->news_validity_begin));
            ?>
						</div>
					</div>
				</div>
			<?php 
        }
        ?>
		</div>
	<?php 
    }
コード例 #9
0
    function printQuote()
    {
        $n = new NewsChannel();
        $n->getDefaultChannel();
        $arrQuote = $this->getByChannelAndIsValid($n->channel_id, " AND quote_active = 1 ORDER BY news_validity_begin DESC LIMIT 0,1");
        //pr($arrQuote);
        $quote = $arrQuote[0];
        /*
        global $db;
        
        $q = "SELECT * FROM {$this->table_name} ORDER BY quote_id DESC LIMIT 0,1";
        $quote = $db->query($q, 1);
        */
        $quote->quote_msg_indonesia = trim(preg_replace('/\\s\\s+/', ' ', $quote->quote_msg_indonesia));
        $quote->quote_msg = trim(preg_replace('/\\s\\s+/', ' ', $quote->quote_msg));
        ?>
        <style>
            .quote-item {
                <?php 
        $bgitem = ThemeReg::mod("quote_color", "#758536", "color");
        ?>
                background-color: <?php 
        echo $bgitem;
        ?>
;
                color: white;
                text-align: center;
                font-size: 15px;
                font-family: verdana;
                font-weight: bold;
                height: 94px;
            // line-height : 80 px;
            // padding : 10 px;
            }

            .quote-msg {
                font-style: italic;
            }

            .quote-padder {
                padding: 25px 20px;
            }

            @media (max-width: 768px) {

                .quote-padder {
                    padding: 15px 20px;
                }

                .quote-item {
                    font-size: 13px;
                }
            }
        </style>
        <div class="quote-item">
            <div id="quotemsg1" class="quote-padder">
                <span  class="quote-msg">"<?php 
        echo stripslashes($quote->quote_msg);
        ?>
"</span>
                                
                <span class="quote-author"> - <?php 
        echo $quote->quote_author;
        ?>
</span>
            </div>
        </div>
        <?php 
        if (isset($quote->quote_msg_indonesia)) {
            ?>
        <script>
$(document).ready(function(){
    var cur = 1;
    function slideshow() {
        if (cur >= 1) {
            cur = 0;
        } else {
            cur++;
        }
        setTimeout(function(){
            $("#quotemsg1").fadeOut(400, function(){
            if(cur == 1)
                $("#quotemsg1").empty().append("<span  class='quote-msg'><?php 
            echo stripslashes(nl2br($quote->quote_msg_indonesia));
            ?>
</span><span class='quote-author'> - <?php 
            echo $quote->quote_author;
            ?>
</span>");
            else
                $("#quotemsg1").empty().append("<span  class='quote-msg'><?php 
            echo stripslashes(nl2br($quote->quote_msg));
            ?>
</span><span class='quote-author'> - <?php 
            echo $quote->quote_author;
            ?>
</span>");
            $("#quotemsg1").fadeIn(400);
            });
            slideshow();
        }, 6000);
    }
    slideshow();
});
    
 
            </script>
        <?php 
        }
        ?>
    <?php 
    }
コード例 #10
0
    public function details()
    {
        $po = addslashes($_GET['po']);
        if ($po < 1 || $po == "") {
            die("Hacking Attempt");
        }
        $CartModel = new CartModel();
        $CartModel->getByID($po);
        if (!Role::hasRole('admin')) {
            if (Account::getMyID() != $CartModel->userid) {
                die('Hacking Attempt');
            }
        }
        ?>

<html>
<head>
	<meta charset="UTF-8">
	<title>PO Nr.<?php 
        echo $CartModel->po_id;
        ?>
</title>


	<meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no'
	      name='viewport'>
	<link href="<?php 
        echo _SPPATH;
        echo _THEMEPATH;
        ?>
/css/bootstrap.min.css"
	      rel="stylesheet">
	<link rel="icon"
	      type="image/png"
	      href="<?php 
        echo _SPPATH;
        ?>
kcfinder/favicon.ico" />
	<!--set all paths as javascript-->

	<script src="<?php 
        echo _SPPATH;
        ?>
js/jquery-1.11.1.js"></script>

	<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
	<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
	<!--[if lt IE 9]>
	<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
	<script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
	<![endif]-->
	<?php 
        //load default css
        Mold::theme("css");
        //PortalTemplate::headercss();
        ?>
	<style>
		<?php 
        //load custon css
        echo ThemeReg::mod("custom_css", "", "text");
        ?>
                .order_detail{
                    padding-bottom: 5px;
                    font-size: 15px;
                    text-align: right;
                }
                .rp{
                    text-align: right
                }
                h3{
                    padding-top:30px;
                }
	</style>
</head>
<body>
 <div id="holderall"
     class="container">
	<div id="lw_content"></div>

	<div id="content_utama">

		<h1 class="beli" style="text-align: center; padding-bottom: 30px;">
                    <img src="<?php 
        echo _SPPATH;
        ?>
images/belicom-trans.png" height="40px" align="absmiddle"> &nbsp;
                    PO Nr.<?php 
        echo $CartModel->po_id;
        ?>
</h1>
<div class="col-md-8 col-md-offset-2 ">
    <div class="bb" style="padding-left: 30px; padding-right: 30px; padding-bottom: 30px;">

        <div class="order_detail">
            Order ID : <?php 
        echo $CartModel->po_id;
        ?>
        </div>
         <div class="order_detail">
             Order Date : <?php 
        echo indonesian_date($CartModel->po_date);
        ?>
        </div>


        <table class="table table-bordered">
            <thead>
                <tr>
                    <th>Nr.</th>
                    <th>Items</th>
                    <th>Qty</th>
                    <th>Harga</th>
                </tr>
            </thead>

                    <?php 
        $nr = 0;
        $arrbulk = json_decode($CartModel->po_pesanan_bulk);
        foreach ($arrbulk as $bulk) {
            $nr++;
            $ids = $bulk->id;
            $qty = $bulk->qty;
            $imp = explode(",", $ids);
            ?>
<tr>
                                <td><?php 
            echo $nr;
            ?>
</td>
                                <td><?php 
            $hargabulk = 0;
            foreach ($imp as $prod_id) {
                $p = new ProdModel();
                $p->getByID($prod_id);
                echo $p->prod_name . "<br>";
                $hargabulk += $p->prod_bulk_price;
            }
            ?>
                                </td>
                                <td><?php 
            echo $qty;
            ?>
</td>
                                <td class="rp">Rp.<?php 
            echo rupiah($hargabulk * $qty);
            ?>
</td>
                            </tr>
                               <?php 
        }
        $arrretail = json_decode($CartModel->po_pesanan_retail);
        //pr($arrretail);
        foreach ($arrretail as $bulk) {
            $nr++;
            $ids = $bulk->id;
            $qty = $bulk->qty;
            $p = new ProdModel();
            $p->getByID($ids);
            ?>
                            <tr>
                                <td><?php 
            echo $nr;
            ?>
</td>
                                <td><?php 
            echo $p->prod_name;
            ?>
                                </td>
                                <td><?php 
            echo $qty;
            ?>
</td>
                                <td class="rp">Rp.<?php 
            echo rupiah($p->prod_satuan_price * $qty);
            ?>
</td>
                            </tr>
                               <?php 
        }
        ?>

                            <tr>
                                <td colspan="3">

                                </td>
                                <td class="rp">Rp.<?php 
        echo rupiah($CartModel->total_goodcost);
        ?>
</td>
                            </tr>
                            <tr>
                                <td colspan="3">
                                    Shipping Cost (JNE <?php 
        echo strtoupper($CartModel->jne_type);
        ?>
)
                                </td>
                                <td class="rp">Rp.<?php 
        echo rupiah($CartModel->total_shipcost);
        ?>
</td>
                            </tr>
                            <tr>
                                <td colspan="3">
                                    Total Cost
                                </td>
                                <td class="rp">Rp.<?php 
        echo rupiah($CartModel->total_cost);
        ?>
</td>
                            </tr>
        </table>
        <h3>Penerima</h3>
        <table class="table table-bordered">
            <tr>
                <td>Nama</td>
                <td><?php 
        echo $CartModel->po_name;
        ?>
</td>
            </tr>
            <tr>
                <td>HP</td>
                <td><?php 
        echo $CartModel->po_mobile;
        ?>
</td>
            </tr>
            <tr>
                <td>Alamat</td>
                <td><?php 
        echo $CartModel->po_address;
        ?>
</td>
            </tr>

            <tr>
                <td>Kota</td>
                <td><?php 
        echo $CartModel->city;
        ?>
</td>
            </tr>
            <tr>
                <td>Propinsi</td>
                <td><?php 
        $prop = $CartModel->prop;
        $lok = new LokasiIndoModel();
        $arrp = $lok->getWhere("lokasi_propinsi='{$prop}' and lokasi_kabupatenkota=0 and lokasi_kecamatan=0 and lokasi_kelurahan=0");
        echo $arrp[0]->lokasi_nama;
        ?>
</td>
            </tr>
        </table>
        <h3>Pengirim</h3>
        <table class="table table-bordered">
            <tr>
                <td>Nama</td>
                <td><?php 
        echo $CartModel->pengirim_name;
        ?>
</td>
            </tr>
            <tr>
                <td>HP</td>
                <td><?php 
        echo $CartModel->pengirim_mobile;
        ?>
</td>
            </tr>

        </table>
    </div>


</div>
<div class="clearfix"></div>
	</div>
</div>

    </body>
</html>


         <?php 
    }
コード例 #11
0
            <?php 
$bgcolor1 = ThemeReg::mod("index_button_color", "#305029", "color");
$bgcolor2 = ThemeReg::mod("index_button_color_border", "#75863f", "color");
?>
            background-color: <?php 
echo $bgcolor1;
?>
 !important;
            border-color: <?php 
echo $bgcolor2;
?>
;
        }
        .btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active, .open .dropdown-toggle.btn-primary {
            <?php 
$bgcolor = ThemeReg::mod("index_button_color_hover", "#305029", "color");
$themepath = $sem;
?>
            background-color: <?php 
echo $bgcolor;
?>
;
        }
        label.checkbox {
            text-align: left;
            letter-spacing: 3px;
        }

        .checkboxspan {
            text-align: left;
        }