<style>
    table.minyanim {
        width: 100%;
        font-size: 16px;
        margin-top: 10px;
    }

    table.minyanim td {
        vertical-align: middle;
    }
</style>

<?php 
echo MAMUtils::writeFlashBlock('dashboard');
?>

<div class="minyanZone" style="margin-bottom: 20px;">
    <? if (count($minyanim) == 0): ?>
        <h3> You are currently not subscribed to any minyan</h3>

    <? else: ?>
        <h3> Your minyanim: </h3>
            <? foreach($minyanim as $minyanUser): ?>
                <h2><?php 
echo link_to($minyanUser->getMinyan()->getName(), 'subscriptions/index?minyanId=' . $minyanUser->getMinyan()->getId());
?>
</h2>

                <? if ($minyanUser->isAdmin()): ?>
                    <?php 
echo link_to('Blast', 'blast/create?minyanId=' . $minyanUser->getMinyan()->getId(), array('class' => 'action'));
<h2 class="centeredTitle">Please log in</h2>

<? MAMUtils::writeFlashBlock('login');?>

<form id="loginForm" method="post" action="<? echo url_for('login/index'); ?>" class="tableless">
    <div class="fieldset">
        <div class="fields">
            <div class="field">
                <input style="font-weight: bold" value="<?php 
echo $sf_request->getParameter('username');
?>
" type="text" name="username" />
                <label>Email or Phone Number</label>
            </div>
            <div class="field">
                <input style="font-weight: bold" type="password" name="password" />
                 <label>Password</label>
            </div>
        </div>
    </div>

    <? Utils::clearDiv(); ?>

    <input type="hidden" name="remember_me" value="true" />
    <input type="hidden" name="redirect" value="<?php 
echo $redirectUrl;
?>
" />

    <div class="centered">
        <button class="greenButtonFixed" type="submit">Login</button>
Exemple #3
0
?>
 minyan at <?php 
echo $minyan;
?>
  <?php 
echo $eventTime;
?>
.
</h2>
<br/><br/>
<? if ($blastResponse->getStatus() != 'yes'): ?>
<h3 align="center">No further action is required at this time.</h3>
<? else: ?>

<?php 
echo MAMUtils::writeFlashBlock('additional');
?>
<h3>If you are bringing others besides yourself, <br/>please enter how many you are bringing here: &nbsp;&nbsp;&nbsp;</h3><br/>
<form action="<?php 
echo url_for('emailResponse/index?responseId=' . $blastResponse->getId());
?>
" method="post">
<input type="text" name="additional" value="<?php 
echo $blastResponse->getAdditional();
?>
" />
<button type="submit">Save</button>
</form>

<? endif; ?>
Exemple #4
0
    }
    div.contact_method p {
        margin-bottom: 20px;
    }

    div.responses {
        float: left;
        width: 640px;
    }
</style>

<h2>Your responses for '<?php 
echo $minyan->getName();
?>
'</h2>
<? MAMUtils::writeFlashBlock('subscriptions'); ?>

<br/>

<div class="responses">
    <? if (count($responses) == 0): ?>
        <h3> This minyan has not yet sent you any requests. </h3>
    <? else: ?>
        <table class="responses">
        <? foreach ($this->minyanResponses as $response): ?>
                <tr>

                </tr>
        <? endforeach; ?>
        </table>
    <? endif; ?>
<div style="float: right; padding: 10px; border: 1px solid #EBE6D1; width: 260px;">
    <a href="/files/subscriberForm.pdf">
        <img border="0" src="/images/pdf.png" align="right" style="margin-left: 5px; margin-bottom: 5px" />
        <strong>Download a subscriber form</strong>
    </a>
    <br/><br/>
    Put this handy subscriber form somewhere in your shul to collect emails and phone numbers
    for your minyan.  Then, enter the information on this page using the "Add New Subscriber" button.
</div>
<h2>Subscribers for <?php 
echo $minyan->getName();
?>
</h2><br/>

<?php 
echo MAMUtils::writeFlashBlock('subscribers');
?>

<button onclick="showAddSubscriberForm();" class="fancy">
    Add New Subscriber
</button> 

<button onclick="deleteSubscribers();" class="fancy">
    Delete Subscribers
</button>


<br/><br/>
<strong><?php 
echo count($minyanUsers);
?>