Пример #1
0
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
defined('C5_EXECUTE') or die('Access Denied.');
require_once 'helpers/fsen/ProjectInfo.php';
if (!isset($doc_lang)) {
    $doc_lang = 'en';
}
$sys_project_id = SYSTEM_PROJECT_SHORTNAME . "-{$doc_lang}";
$volumes = ProjectInfo::getAllVolumes($sys_project_id, 'misc');
?>

<footer class="global-footer">

	<?php 
$a = new Area('Footer');
$a->display($c);
?>

	<nav class='footer-block'>
		<ul>
			<li>
				<a href="<?php 
echo ProjectInfo::assemblePath($sys_project_id, 'misc');
?>
Пример #2
0
						</a>
				</section>

			</div>
		</section>

<!-- Main area (list of forum areas and forums) -->
		<section class="container-fluid">
			<header>
				<h1><?php 
echo t('Forums');
?>
</h1>
			</header>
<?php 
$volumes = ProjectInfo::getAllVolumes($project_id, $domain_handle);
foreach ($volumes as $vlm) {
    ?>
			<div class="panel panel-primary">
				<div class="panel-heading">
					<h2 class="panel-title">
						<a
							href="<?php 
    echo ProjectInfo::assemblePath($project_id, $domain_handle, $vlm['volume_handle']);
    ?>
"><?php 
    echo h5($vlm['volume_name']);
    ?>
</a>
						<small style="color:#fafafa;"><?php 
    echo h5($vlm['volume_desc']);