本文整理匯總了PHP中OpenVBX::addCSS方法的典型用法代碼示例。如果您正苦於以下問題:PHP OpenVBX::addCSS方法的具體用法?PHP OpenVBX::addCSS怎麽用?PHP OpenVBX::addCSS使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類OpenVBX
的用法示例。
在下文中一共展示了OpenVBX::addCSS方法的2個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: array
$ci->db->insert('outbound_queue', array('tenant' => $tenant_id, 'number' => $subscriber->value, 'type' => $type, 'time' => $time, 'callerId' => $callerId, 'data' => json_encode(array('message' => $_POST['message']))));
}
} elseif ('call' == $type) {
$flow = OpenVBX::getFlows(array('id' => $_POST['flow'], 'tenant_id' => $tenant_id));
if ($flow && count($subscribers) && $flow[0]->values['data']) {
foreach ($subscribers as $subscriber) {
$ci->db->insert('outbound_queue', array('tenant' => $tenant_id, 'number' => $subscriber->value, 'type' => $type, 'time' => $time, 'callerId' => $callerId, 'data' => json_encode(array('id' => $flow[0]->values['id'], 'name' => $flow[0]->values['name']))));
}
}
}
}
$lists = $ci->db->query(sprintf('SELECT id, name FROM subscribers_lists WHERE tenant = %d', $tenant_id))->result();
$flows = OpenVBX::getFlows(array('tenant_id' => $tenant_id));
OpenVBX::addJS('jquery-ui-1.7.3.custom.min.js');
OpenVBX::addJS('schedule.js');
OpenVBX::addCSS('jquery-ui-1.7.3.custom.css');
?>
<style>
.vbx-schedule form {
display: none;
padding: 20px 5%;
background: #eee;
border-bottom: 1px solid #ccc;
}
.vbx-schedule h3 {
font-size: 16px;
font-weight: bold;
margin-top: 0;
}
</style>
<div class="vbx-content-main">
示例2: file_get_contents
echo file_get_contents('plugin.json', true);
exit;
}
}
}
}
?>
<link rel='stylesheet prefetch' href='https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css'>
<?php
// Chat UI Design by Julia Smith
// http://www.bypeople.com/web-chat-widget/
// http://codepen.io/drehimself/pen/KdXwxR?utm_source=bypeople
OpenVBX::addCSS('css/style.css');
OpenVBX::addCSS('css/jquery.light.css');
?>
<div class="vbx-content-main">
<div class="vbx-content-menu vbx-content-menu-top">
<h2 class="vbx-content-heading">SMS Conversation List</h2>
<div id="sound-notification" style="float: right; color: white; font-size: 25px;"><a href="javascript:void(0);" style="color: white;"><i class="fa"></i></a> </div>
</div><!-- .vbx-content-menu -->
<div class="vbx-content-container">
<div class="vbx-content-section">
<div class="smsList" style="float:left; width:45%;">
<table class="vbx-items-grid" border="0" id="smsList">
<thead>
<tr class="items-head recording-head"><th>Date</th><th>From</th><th>To</th><th>Messages</th></tr>
</thead>