Subversion-Projekte lars-tiefland.content-management

Revision

Blame | Letzte Änderung | Log anzeigen | RSS feed

{* $Id: index.tpl 422 2008-09-08 12:11:27Z tiefland $ *}
{include file="header.tpl"}
    {if $display}
    <table width="740" cellspacing="0" cellpadding="0">
        <tr>
            <td valign="top">
                <table width="662">
                    <tr>
                        <td colspan="4" class="links">Projektliste</td>
                    </tr>
                    <tr>
                        <th class="links">Projektname</th>
                        <th class="links">Projektleiter</th>
                        <th class="links">Projektzeitraum</th>
                        <th class="links">Projektort</th>
                    </tr>
                    {section loop=$projekte name="p_ind"}
                    <tr>
                        <td class="rechts" valign="top">
                            {$projekte[p_ind]->p_name}
                            <form action="{$SCRIPT_NAME}" method="post" style="display:inline;">
                                <input type="hidden" name="action" value="view">
                                <input type="hidden" name="id" value="{$projekte[p_ind]->p_id}">
                                <input type="image" src="../images/navigation/edit.gif" align="right" style="16px">
                            </form>
                        </td>
                        <td class="rechts">
                                                        {$projekte[p_ind]->p_leiter_name}
                            <form action="../logins/logins.php" method="post" style="display:inline;">
                                <input type="hidden" name="action" value="edit">
                                <input type="hidden" name="ID" value="{$projekte[p_ind]->p_leiter_id}">
                                <input type="image" src="../images/navigation/edit.gif" align="right" style="16px">
                            </form>
                        </td>
                        <td class="rechts">{$projekte[p_ind]->p_von} bis {$projekte[p_ind]->p_bis}</td>
                        <td class="rechts">
                                                        {$projekte[p_ind]->p_ort_name}
                            <form action="projekt_ort.php" method="post" style="display:inline;">
                                <input type="hidden" name="action" value="view">
                                <input type="hidden" name="id" value="{$projekte[p_ind]->p_ort_id}">
                                <input type="image" src="../images/navigation/edit.gif" align="right" style="16px">
                            </form>
                        </td>
                    </tr>
                    {/section}
                </table>
            </td>
            <td width="77" align="right" valign="top">
            {include file="buttons.tpl"}
            </td>
        </tr>
    </table>
    {else}
    <table width="740" cellspacing="0" cellpadding="0">
        <tr>
            <td valign="top">
                <table width="662" cellspacing="0" cellpadding="0">
                    <tr>
                        <td class="links">Keine Projekte vorhanden!</td>
                    </tr>
                </table>
            </td>
            <td width="77" align="right" valign="top">
            {include file="buttons.tpl"}
            </td>
        </tr>
    </table>
    {/if}
{include file="footer.tpl"}