当前位置: 首页>>代码示例>>PHP>>正文


PHP bsa_space函数代码示例

本文整理汇总了PHP中bsa_space函数的典型用法代码示例。如果您正苦于以下问题:PHP bsa_space函数的具体用法?PHP bsa_space怎么用?PHP bsa_space使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了bsa_space函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: get_order_ads

function get_order_ads($sid, $column)
{
    if (isset($sid) && bsa_space($sid, 'order_ads') == $column) {
        return 'bsaOrderActive';
    } else {
        return null;
    }
}
开发者ID:domalexxx,项目名称:nashvancouver,代码行数:8,代码来源:items.php

示例2: bsa_space

     echo '<div class="bsaProItemInner" style="background-color:' . bsa_space($sid, 'ad_bg') . '">';
     // -- START -- ITEM INNER
     echo '<div class="bsaProItemInner__thumb">';
     // -- START -- ITEM THUMB
     echo '<div class="bsaProItemInner__img" style="background-image: url(&#39;' . bsa_crop_tool($crop, !isset($sid) && !isset($_POST['bsa_ad_id']) || isset($example) ? $ad['img'] : bsa_upload_url() . $ad['img'], 550, 350) . '&#39;)"></div>';
     // -- ITEM -- IMG
     echo '</div>';
     // -- END -- ITEM THUMB
     echo '<div class="bsaProItemInner__copy">';
     // -- START -- ITEM COPY
     echo '<div class="bsaProItemInner__copyInnerBg" style="background-color:' . bsa_space($sid, 'ad_extra_color_1') . '"></div>';
     echo '<div class="bsaProItemInner__copyInner">';
     // -- START -- ITEM COPY INNER
     echo '<h3 class="bsaProItemInner__title" style="color:' . bsa_space($sid, 'ad_title_color') . '">' . $ad['title'] . '</h3>';
     // -- ITEM -- TITLE
     echo '<p class="bsaProItemInner__desc" style="color:' . bsa_space($sid, 'ad_desc_color') . '">' . $ad['description'] . '</p>';
     // -- ITEM -- DESCRIPTION
     echo '</div>';
     // -- END -- ITEM COPY INNER
     echo '</div>';
     // -- END -- ITEM COPY
     echo '</div>';
     // -- END -- ITEM INNER
     echo '</a>';
     // -- END -- LINK
     echo '</div>';
     // -- END -- ITEM
 }
 echo '</div>';
 // -- END -- ITEMS
 echo '</div>';
开发者ID:domalexxx,项目名称:nashvancouver,代码行数:31,代码来源:modern-3.php

示例3: bsa_space

     echo '</div>';
     echo '</div>';
     // -- END -- ITEM IMG
     echo '</div>';
     echo '</div>';
     // -- END -- ITEM THUMB
     echo '<div class="bsaProItemInner__copy">';
     // -- START -- ITEM COPY
     echo '<div class="bsaProItemInner__copyInner">';
     // -- START -- ITEM COPY INNER
     echo '<h3 class="bsaProItemInner__title" style="color:' . bsa_space($sid, 'ad_title_color') . '">' . $ad['title'] . '</h3>';
     // -- ITEM -- TITLE
     echo '<p class="bsaProItemInner__desc" style="color:' . bsa_space($sid, 'ad_desc_color') . '">' . $ad['description'] . '</p>';
     // -- ITEM -- DESCRIPTION
     if ($ad['url'] != '' && $ad['url'] != '#') {
         echo '<span class="bsaProItemInner__url" style="color:' . bsa_space($sid, 'ad_url_color') . '">http://' . $url['host'] . '</span>';
         // -- ITEM -- URL
     }
     echo '</div>';
     // -- END -- ITEM COPY INNER
     echo '</div>';
     // -- END -- ITEM COPY
     echo '</div>';
     // -- END -- ITEM INNER
     echo '</a>';
     // -- END -- LINK
     echo '</div>';
     // -- END -- ITEM
 }
 echo '</div>';
 // -- END -- ITEMS
开发者ID:domalexxx,项目名称:nashvancouver,代码行数:31,代码来源:flat-1.php

示例4: bsa_space

     if ($ad['url'] != '') {
         if (isset($example)) {
             // url to form if example in ad space
             echo '<a class="bsaProItem__url" href="' . $form_url . '" target="_blank">';
         } else {
             if (isset($type) && $type == 'agency') {
                 echo '<a href="' . $agency_form . (strpos($agency_form, '?') ? '&' : '?') . 'bsa_pro_id=' . $ad['id'] . '&bsa_pro_url=1" target="_blank" class="bsaProItem__url bsaProItemInner__btn btn-floating btn-large waves-effect waves-light" style="background-color:' . bsa_space($sid, 'ad_extra_color_1') . '">';
             } else {
                 echo '<a href="' . get_site_url() . (strpos(get_site_url(), '?') ? '&' : '?') . 'bsa_pro_id=' . $ad['id'] . '&bsa_pro_url=1" target="_blank" class="bsaProItem__url bsaProItemInner__btn btn-floating btn-large waves-effect waves-light" style="background-color:' . bsa_space($sid, 'ad_extra_color_1') . '">';
             }
         }
     } else {
         echo '<a href="#">';
     }
     // -- ITEM -- BTN
     echo '<i class="mdi-content-add" style="color:' . bsa_space($sid, 'ad_extra_color_2') . '"></i>';
     echo '</a>';
     // -- ITEM -- BTN
     echo '</div>';
     // -- END -- ITEM BUTTON INNER
     echo '</div>';
     // -- END -- ITEM BUTTON
     echo '</div>';
     // -- END -- ITEM INNER
     echo '</div>';
     // -- END -- ITEM
     //		echo '</a>'; // -- END -- LINK
 }
 echo '</div>';
 // -- END -- ITEMS
 echo '</div>';
开发者ID:domalexxx,项目名称:nashvancouver,代码行数:31,代码来源:material-design-1.php

示例5: bsa_space

        echo '<p class="bsaProItemInner__desc" style="color:' . bsa_space($sid, 'ad_desc_color') . '">' . $ad['description'] . '</p>';
        // -- ITEM -- DESCRIPTION
        echo '</div>';
        // -- END -- ITEM COPY INNER
        echo '</div>';
        // -- END -- ITEM COPY
        echo '</div>';
        // -- END -- ITEM INNER
        echo '</a>';
        // -- END -- LINK
        echo '</div>';
        // -- END -- ITEM
    }
    echo '</div>';
    // -- END -- ITEMS
    echo '</div>';
    // -- END -- CONTAINER
    // -- END -- TEMPLATE HTML
}
$bgNote = bsa_space($sid, "ad_extra_color_1") != '' ? bsa_space($sid, "ad_extra_color_1") : NULL;
$borderNote = bsa_space($sid, "ad_extra_color_2") != '' ? bsa_space($sid, "ad_extra_color_2") . ' ' . bsa_space($sid, "ad_extra_color_2") . ' transparent transparent' : NULL;
echo '
<style>
#bsa-paper-note-1 .bsaProItemInner.bsaNote:before {
	background: ' . $bgNote . ';
}
#bsa-paper-note-1 .bsaProItemInner.bsaNote.bsaRounded:before {
	border-color: ' . $borderNote . ';
}
</style>
';
开发者ID:domalexxx,项目名称:nashvancouver,代码行数:31,代码来源:paper-note-2.php

示例6: get_option

 $agency_form = get_option('bsa_pro_plugin_agency_ordering_form_url');
 if ($ad['url'] != '') {
     if (isset($example)) {
         // url to form if example in ad space
         echo '<a class="bsaProItem__url" href="' . $form_url . '" target="_blank">';
     } else {
         if (isset($type) && $type == 'agency') {
             echo '<a class="bsaProItem__url" href="' . $agency_form . (strpos($agency_form, '?') ? '&' : '?') . 'bsa_pro_id=' . $ad['id'] . '&bsa_pro_url=1" target="_blank">';
         } else {
             echo '<a class="bsaProItem__url" href="' . get_site_url() . (strpos(get_site_url(), '?') ? '&' : '?') . 'bsa_pro_id=' . $ad['id'] . '&bsa_pro_url=1" target="_blank">';
         }
     }
 } else {
     echo '<a href="#">';
 }
 echo '<div class="bsaProItemInner" style="background-color:' . bsa_space($sid, 'ad_bg') . '">';
 // -- START -- ITEM INNER
 echo '<div class="bsaProItemInner__thumb">';
 // -- START -- ITEM THUMB
 echo '<div class="bsaProAnimateThumb animated">';
 echo '<div class="bsaProItemInner__img" style="background-image: url(&#39;' . bsa_crop_tool($crop, !isset($sid) && !isset($_POST['bsa_ad_id']) || isset($example) ? $ad['img'] : bsa_upload_url() . $ad['img'], 400, 300) . '&#39;)"></div>';
 // -- ITEM -- IMG
 echo '</div>';
 echo '</div>';
 // -- END -- ITEM THUMB
 echo '</div>';
 // -- END -- ITEM INNER
 echo '</a>';
 // -- END -- LINK
 echo '</div>';
 // -- END -- ITEM
开发者ID:domalexxx,项目名称:nashvancouver,代码行数:31,代码来源:image-1.php

示例7: bsa_pro_ad_space

        echo bsa_pro_ad_space($id, $max_width, $delay, $padding_top, $attachment, $crop);
        // Print items
        ?>
<style>
	.bsaProContainer .bsaProItemInner__copy { font-family: Verdana, Arial, sans-serif; }
	<?php 
        echo get_option('bsa_pro_plugin_custom_css') != '' ? get_option('bsa_pro_plugin_custom_css') : null;
        ?>
	<?php 
        echo file_get_contents(plugin_dir_path(__FILE__) . '/../frontend/css/asset/style.css');
        ?>
	<?php 
        if (strpos(bsa_space($id, 'template'), 'material-design') !== false) {
            ?>
		<?php 
            echo file_get_contents(plugin_dir_path(__FILE__) . '/../frontend/css/asset/material-design.css');
            ?>
	<?php 
        }
        ?>
	<?php 
        echo file_get_contents(plugin_dir_path(__FILE__) . '/../frontend/css/' . bsa_space($id, 'template') . '.css');
        ?>
</style>
<?php 
    } else {
        echo '(error 705) No access to the API.';
    }
} else {
    echo '(error 704) No access to the API.';
}
开发者ID:domalexxx,项目名称:nashvancouver,代码行数:31,代码来源:get.php

示例8: ads_pro_ad_space_function

function ads_pro_ad_space_function($atts, $content = null)
{
    extract(shortcode_atts(array('id' => $atts['id'], 'max_width' => isset($atts['max_width']) ? $atts['max_width'] : null, 'delay' => isset($atts['delay']) ? $atts['delay'] : null, 'padding_top' => isset($atts['padding_top']) ? $atts['padding_top'] : null, 'attachment' => isset($atts['attachment']) ? $atts['attachment'] : null, 'crop' => isset($atts['crop']) ? $atts['crop'] : null, 'hide_for_id' => isset($atts['hide_for_id']) ? $atts['hide_for_id'] : null, 'if_empty' => isset($atts['if_empty']) ? $atts['if_empty'] : null), $atts));
    $content = wpb_js_remove_wpautop($content, true);
    // fix unclosed/unwanted paragraph tags in $content
    $id = "{$id}";
    $max_width = "{$max_width}";
    $delay = "{$delay}";
    $padding_top = "{$padding_top}";
    $attachment = "{$attachment}";
    $crop = "{$crop}";
    $hide_for_id = "{$hide_for_id}";
    $if_empty = "{$if_empty}";
    ob_start();
    if (get_option('bsa_pro_plugin_' . 'hide_if_logged') != 'yes' && is_user_logged_in() && in_array(get_the_ID(), explode(',', $hide_for_id), false) !== true || !is_user_logged_in() && in_array(get_the_ID(), explode(',', $hide_for_id), false) !== true) {
        // Hide for logged users or specific pages
        if ($content != null && bsa_space($id, 'display_type') == 'link') {
            ?>
			<style>
				.bsaProLink-<?php 
            echo $id;
            ?>
 .bsaProLinkHover-<?php 
            echo $id;
            ?>
 {
					left: 0;
					width: <?php 
            echo $max_width . 'px';
            ?>
;
				}
			</style>
			<?php 
            echo '<div class="bsaProLink bsaProLink-' . $id . '">' . $content . '<div class="bsaProLinkHover bsaProLinkHover-' . $id . '">';
        }
        $ad_space_1 = bsa_pro_ad_space($id, $max_width, $delay, $padding_top, $attachment, $crop, $hide_for_id, $if_empty);
        $ad_space_2 = null;
        if (isset($if_empty)) {
            $ad_space_2 = bsa_pro_ad_space($if_empty, $max_width, $delay, $padding_top, $attachment, $crop, $hide_for_id);
        }
        if ($ad_space_1 != null) {
            bsa_pro_ad_space($id, $max_width, $delay, $padding_top, $attachment, $crop, $hide_for_id, $if_empty);
        } elseif ($ad_space_2 != null) {
            bsa_pro_ad_space($if_empty, $max_width, $delay, $padding_top, $attachment, $crop, $hide_for_id);
        }
        //		bsa_pro_ad_space($id, $max_width, $delay, $padding_top, $attachment, $crop, $hide_for_id);
        if ($content != null && bsa_space($id, 'display_type') == 'link') {
            echo '</div></div>';
        }
    }
    return ob_get_clean();
}
开发者ID:domalexxx,项目名称:nashvancouver,代码行数:53,代码来源:functions.php

示例9: notifyAction

 public function notifyAction($type = NULL)
 {
     if (empty($_POST)) {
         return;
     }
     $paymentId = isset($_GET['oid']) ? $_GET['oid'] : null;
     if (isset($_POST) && !isset($_POST['stripeToken'])) {
         // PayPal Verify
         $payment_crc = $_POST['custom'];
         try {
             $timestamp = time();
             $data = json_encode($_POST);
             $this->wpdb->update($this->getTableName('ads'), array('p_time' => $timestamp, 'p_data' => $data), array('id' => $paymentId));
             if ($payment_crc != md5($_POST['item_number'] . bsa_number_format($_POST['mc_gross']))) {
                 throw new \Exception('price changed');
             }
             if ($_POST['payment_status'] == 'Pending') {
                 throw new \Exception('payment is pending');
             }
             if ($_POST['payment_status'] == 'Denied') {
                 throw new \Exception('payment is denied');
             }
         } catch (\Exception $e) {
             $error = $e->getMessage();
         }
         if (isset($error)) {
             $this->wpdb->update($this->getTableName('ads'), array('paid' => 0, 'p_error' => $error), array('id' => $paymentId));
         }
         if (isset($_POST) && isset($_POST['payment_status']) && $_POST['payment_status'] == 'Completed' && !isset($error)) {
             // change status
             $this->wpdb->update($this->getTableName('ads'), array('paid' => 1, 'status' => (get_option('bsa_pro_plugin_auto_accept') == 'no' or $type == 'agency') ? 'pending' : 'active'), array('id' => $paymentId));
             // change affiliate status
             if ($this->validReferral($paymentId)) {
                 $this->wpdb->update($this->getTableName('referrals'), array('order_status' => 'paid'), array('order_id' => $paymentId));
             }
         }
         // reset cache sessions
         unset($_SESSION['bsa_ad_' . $paymentId]);
     }
     if (isset($_POST) && isset($_POST['stripeToken'])) {
         // Stripe Verify
         if (isset($_POST['stripeToken']) && isset($_GET['oid'])) {
             require_once 'Stripe/init.php';
             // Set your API key
             \Stripe\Stripe::setApiKey(get_option('bsa_pro_plugin_secret_key'));
             try {
                 \Stripe\Charge::create(array('amount' => number_format(bsa_ad($_GET['oid'], 'cost'), 2, '', ''), 'currency' => 'usd', 'card' => $_POST['stripeToken'], 'description' => bsa_ad($_GET['oid'], 'buyer_email') . ' (' . number_format(bsa_ad($_GET['oid'], 'cost'), 2, '', '') . ')'));
                 $timestamp = time();
                 $this->wpdb->update($this->getTableName('ads'), array('paid' => 1, 'p_time' => $timestamp, 'p_data' => $_POST['stripeToken'], 'status' => (get_option('bsa_pro_plugin_auto_accept') == 'no' or $type == 'agency') ? 'pending' : 'active'), array('id' => $paymentId));
                 // change affiliate status
                 if ($this->validReferral($paymentId)) {
                     $this->wpdb->update($this->getTableName('referrals'), array('order_status' => 'paid'), array('order_id' => $paymentId));
                 }
                 echo 'TRUE';
             } catch (\Stripe\Error\Card $e) {
                 // The card has been declined
                 //					$error = $e->getMessage();
                 //					$this->wpdb->update(
                 //						$this->getTableName('ads'),
                 //						array(
                 //							'paid' => 0,
                 //							'p_error' => $error
                 //						),
                 //						array('id' => $paymentId)
                 //					);
                 //					echo 'FALSE';
             }
         }
         // change status to pending if pending cron task
         if ($this->getPendingTask($paymentId, 'ad')) {
             $this->wpdb->update($this->getTableName('ads'), array('status' => 'pending'), array('id' => $paymentId));
         }
         // reset cache sessions
         unset($_SESSION['bsa_ad_' . $paymentId]);
     }
     if (isset($error)) {
         echo FALSE;
     } else {
         // email sender
         $sender = get_option('bsa_pro_plugin_trans_email_sender');
         $email = get_option('bsa_pro_plugin_trans_email_address');
         // buyer sender
         $paymentEmail = bsa_ad($paymentId, 'buyer_email');
         $subject = get_option('bsa_pro_plugin_trans_buyer_subject');
         $message = get_option('bsa_pro_plugin_trans_buyer_message');
         $search = '[STATS_URL]';
         if ($type == 'agency') {
             $replace = get_option('bsa_pro_plugin_agency_ordering_form_url') . (strpos(get_option('bsa_pro_plugin_agency_ordering_form_url'), '?') == TRUE ? '&' : '?') . "bsa_pro_stats=1&bsa_pro_email=" . str_replace('@', '%40', $paymentEmail) . "&bsa_pro_id=" . $paymentId . "#bsaStats\r\n";
         } else {
             $replace = get_option('bsa_pro_plugin_ordering_form_url') . (strpos(get_option('bsa_pro_plugin_ordering_form_url'), '?') == TRUE ? '&' : '?') . "bsa_pro_stats=1&bsa_pro_email=" . str_replace('@', '%40', $paymentEmail) . "&bsa_pro_id=" . $paymentId . "#bsaStats\r\n";
         }
         $message = str_replace($search, $replace, $message);
         $headers = 'From: ' . $sender . ' <' . $email . '>' . "\r\n";
         wp_mail($paymentEmail, $subject, $message, $headers);
         if ($type == 'agency') {
             // seller sender
             $sellerSubject = get_option('bsa_pro_plugin_trans_seller_subject');
             $sellerMessage = get_option('bsa_pro_plugin_trans_seller_message');
             $sellerHeaders = 'From: ' . $sender . ' <' . $email . '>' . "\r\n";
             $getUserId = bsa_site(bsa_space(bsa_ad($paymentId, 'space_id'), 'site_id'), 'user_id');
//.........这里部分代码省略.........
开发者ID:domalexxx,项目名称:nashvancouver,代码行数:101,代码来源:BSA_PRO_Model.php

示例10: get_option

					' . get_option($bsaTrans . "form_left_header") . ' <span class="bsaLoader bsaLoaderInputs" style="display:none;"></span><br>
					<small style="margin-top: -10px;display: block;">
						<a href="' . get_option('bsa_pro_plugin_agency_ordering_form_url') . '" style="font-size:12px;font-weight: normal;text-decoration: none;">< ' . get_option($bsaTrans . 'agency_back_button') . '</a>
					</small>
				</h3>
				<div class="bsaProInput">
					<label for="bsa_pro_space_id">' . get_option($bsaTrans . "form_left_select_space") . '</label>
					<div class="bsaProSelectSpace">
						<select id="bsa_pro_space_id" name="space_id">
						';
            foreach ($spaces as $space) {
                if (in_array($space['id'], $space_verify)) {
                    if ($model->countAds($space["id"]) < bsa_space($space["id"], 'max_items') || bsa_space($space["id"], 'max_items') == 1 && get_option('bsa_pro_plugin_calendar') == 'yes') {
                        echo '<option value="' . $space["id"] . '" ' . ((isset($_POST["space_id"]) && $_POST["space_id"] == $space["id"] or isset($_GET['sid']) && $_GET['sid'] == $space["id"]) ? 'selected="selected"' : "") . '>' . $space["name"] . '</option>';
                    } else {
                        echo '<option value="" disabled>' . $space["name"] . ' (' . $model->countAds($space["id"]) . '/' . bsa_space($space["id"], 'max_items') . ')' . '</option>';
                    }
                }
            }
            echo '
							</select>
						</div>
					</div>
					<div class="bsaProInput">
						<label for="bsa_pro_buyer_email">' . get_option($bsaTrans . "form_left_email") . '</label>
						<input id="bsa_pro_buyer_email" name="buyer_email" type="email" value="' . bsaGetPost('buyer_email') . '" placeholder="' . get_option($bsaTrans . "form_left_eg_email") . '">
					</div>
					<div class="bsaProInput bsa_title_inputs_load" style="display: none">
						<label for="bsa_pro_title">' . get_option($bsaTrans . "form_left_title") . ' (<span class="bsa_pro_sign_title">' . get_option('bsa_pro_plugin_max_title') . '</span>)</label>
						<input id="bsa_pro_title" name="title" type="text" value="' . bsaGetPost('title') . '" placeholder="' . get_option($bsaTrans . "form_left_eg_title") . '" maxlength="' . get_option('bsa_pro_plugin_max_title') . '">
					</div>
开发者ID:domalexxx,项目名称:nashvancouver,代码行数:31,代码来源:BSA_PRO_Agency_Ordering_form.php

示例11: bsa_space

		</div>

		<div class="bsaCompare bsaCompareB <?php 
    echo $ctrA <= $ctrB ? 'bsaCompareWinner' : null;
    ?>
">

			<div class="bsaCompareSignature">B</div>

			<div class="bsaCompareAdId">Ad ID: <strong><?php 
    echo $get_ad_B;
    ?>
</strong></div>
			<div class="bsaCompareTemplate">Template: <strong><?php 
    echo bsa_space(bsa_ad($get_ad_B, 'space_id'), 'template');
    ?>
</strong></div>
			<div class="bsaCompareWeight">Traffic Weight: <strong><?php 
    echo $trafficB . '%';
    ?>
</strong></div>

			<div class="bsaCompareCTR"><div class="bsaCompareCTRInner"><strong><?php 
    echo $ctrB . '%';
    ?>
</strong><br>CTR</div></div>

			<div class="bsaCompareViews"><span><?php 
    echo $viewsB;
    ?>
开发者ID:domalexxx,项目名称:nashvancouver,代码行数:30,代码来源:ab-tests.php

示例12: selectedSpaceOpt

function selectedSpaceOpt($optName, $optValue)
{
    if (isset($_GET['space_id']) && bsa_space($_GET['space_id'], $optName) == $optValue || isset($_POST[$optName]) && $_POST[$optName] == $optValue) {
        echo 'selected="selected"';
    }
}
开发者ID:domalexxx,项目名称:nashvancouver,代码行数:6,代码来源:settings.php

示例13: bsa_space

        // -- END -- ITEM INNER
        echo '</a>';
        // -- END -- LINK
        echo '</div>';
        // -- END -- ITEM
    }
    echo '</div>';
    // -- END -- ITEMS
    echo '</div>';
    // -- END -- CONTAINER
    // -- END -- TEMPLATE HTML
}
$background = bsa_space($sid, "ad_bg") != '' ? bsa_space($sid, "ad_bg") : NULL;
$bgGradientFront = bsa_space($sid, "ad_extra_color_1") != '' ? 'bottom, transparent 75%, ' . bsa_space($sid, "ad_extra_color_1") . ' 95%' : NULL;
$bgGradientBack = bsa_space($sid, "ad_extra_color_1") != '' ? 'bottom, transparent, ' . bsa_space($sid, "ad_extra_color_1") : NULL;
$backgroundBack = bsa_space($sid, "ad_extra_color_2") != '' ? bsa_space($sid, "ad_extra_color_2") : NULL;
echo '
<style>
#bsa-paper-note-3 .bsaProItemInner .bsaFront .bsaCircle{
	margin-top: -10px;
	background: ' . $background . ';

	background-image: -webkit-linear-gradient(' . $bgGradientFront . ');
	background-image: -moz-linear-gradient(' . $bgGradientFront . ');
	background-image: linear-gradient(' . $bgGradientFront . ');
}
#bsa-paper-note-3 .bsaProItemInner:hover .bsaFront .bsaCircle {
	background-color: ' . $background . ';
}
#bsa-paper-note-3 .bsaProItemInner .bsaBack .bsaCircle{
	margin-top: -130px;
开发者ID:domalexxx,项目名称:nashvancouver,代码行数:31,代码来源:paper-note-3.php

示例14: function

        // -- END -- LINK
        echo '</div>';
        echo '</div>';
        // -- END -- ITEM THUMB
        echo '</div>';
        // -- END -- ITEM INNER
        echo '</div>';
        // -- END -- ITEM
    }
    echo '</div>';
    // -- END -- ITEMS
    echo '</div>';
    // -- END -- CONTAINER
    // -- END -- TEMPLATE HTML
}
if (isset($sid) && bsa_space($sid, "display_type") != 'corner' || !isset($sid)) {
    echo '<script>
	(function($){
		$(window).on("resize", function(){
			var sid = "' . $sid . '";
			var object = $(".bsaProContainer-" + sid + " .bsaProItemInner__img");
			var animateThumb = $(".bsaProContainer-" + sid + " .bsaProAnimateThumb");
			var innerThumb = $(".bsaProContainer-" + sid + " .bsaProItemInner__thumb");
			var parentWidth = "' . $width . '";
			var parentHeight = "' . $height . '";
			var objectWidth = object.width();
			if ( objectWidth < parentWidth ) {
				var scale = objectWidth / parentWidth;
				if ( objectWidth > 0 && objectWidth != 100 && scale > 0 ) {
					animateThumb.height(parentHeight * scale);
					innerThumb.height(parentHeight * scale);
开发者ID:domalexxx,项目名称:nashvancouver,代码行数:31,代码来源:block-468--60.php

示例15: checkedSpaceOpt

function checkedSpaceOpt($optName, $optValue)
{
    if (isset($_GET['space_id']) && in_array($optValue, explode(',', bsa_space($_GET['space_id'], $optName))) or isset($_POST[$optName]) && in_array($optValue, $_POST[$optName])) {
        echo 'checked="checked"';
    }
}
开发者ID:domalexxx,项目名称:nashvancouver,代码行数:6,代码来源:add-space.php


注:本文中的bsa_space函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。