Infinity Forum
Christian Engineering Solutions (CES) is a Not for Profit Organization specializing in collaborative solutions development for the Church. In the Spirit of Jesus Christ, we are to spread the gospel throughout the Earth, taking care to be good examples of Christ Jesus by serving others. CES is designed to help the Church meet these goals in the most rigorous manner possible.
Our Technology is scripture based in its goals and foundations. Open-Source and Free, one may use our services to both learn and solve problems with the goals of helping others and growing closer to God.
<!-- TODO:
Add sync button (admin)
Add Mainfile only Toggle Button
-->
<%- include('html_head') %>
<link rel="stylesheet" type="text/css" href="/css/new.css">
<link rel="stylesheet" type="text/css" href="/css/mobile.css">
</head>
<%- include('header') %>
<%- include('header2', {
page: 'more'
}) %>
<%-include('menu')%>
<%-include('sidebar')%>
<%if(!ISMOBILE){%>
<%- include('member_box') %>
<%}%>
<input id="chief_passage_id"type="hidden" value="<%=passage.id || root%>"name="">
<input type="hidden" value="false", id="is_profile"/>
<input type="hidden" id="selection">
<div id="page_title_container">
<%if(passage.parent != null){%>
<div data-url="/passage/<%=encodeURIComponent(passage.parent.title)%>/<%=passage.parent._id%>"id="parent_title"><%=passage.parent.title%></div>
<%}%>
<%if(passageTitle){%>
<div id="page_title"><%= decodeURIComponent(passageTitle)%></div>
<%}%>
</div>
<div style="margin:auto;text-align: center;">
<%if(user && user.admin){%>
<button id="filestreamsync">Sync</button>
<%}%>
<%if(mainFiles){%>
<button onclick="window.location.href='/filestream/false'">All Matches</button>
<%}else{%>
<button onclick="window.location.href='/filestream/true'">Active Files (Mainfiles) Only</button>
<%}%>
</div>
<%if((user && passage.id == 'root') || (user && (passage.public || passageUsers.includes(user._id.toString())))){%>
<%if(passage.id == 'root' && passage.public_daemon != 2 && passage.default_daemon != true){%>
<button title="Add Passage"id="add_passage_button">+</button>
<%}%>
<%}%>
<br id="top_spacer">
<div id="passage_wrapper">
<!-- Show passage list or search list -->
<%if(passages){%>
<%- include('passages') %>
<%}else if (passage){%>
<!-- Just show one passage -->
<%- include('passage', {passage: passage, sub: sub, subPassages: subPassages}) %>
<%} %>
</div>
<div id="passage_form_wrapper"></div>
<%if((user && passage.id == 'root') || (user && (passage.author._id == user._id || passage.public || passageUsers.includes(user._id.toString())))){%>
<%if(passage.id != 'root' && passage.public_daemon != 2 && passage.default_daemon != true){%>
<button title="Add Passage"id="add_passage_button">+</button>
<%}%>
<%}%>
<br>
</div>
<%if(passages){%>
<div class="passage"id="view_more">View More</div>
<%}else if (passage && passage.public == true){%>
<div class="passage"id="view_more">View More</div>
<%} %>
<%- include('footer') %>