Beispiel #1
0
			<div id="footer-1" class="widget-area center" role="complementary">
				<?php 
dynamic_sidebar('footer-1');
?>
			</div>
			<div id="footer-2" class="widget-area center" role="complementary">
				<?php 
dynamic_sidebar('footer-2');
social_icons();
?>
			</div>
			<div id="footer-3" class="widget-area" role="complementary">
				<?php 
dynamic_sidebar('footer-3');
// Address
echo contactInfo();
?>
			</div>
		</div><!-- .row -->
		<div class="row credits">
			<?php 
bloginfo('name');
?>
 &copy; <?php 
echo Date('Y');
?>
			<aside class="created-by">
				Designed by <a href="http://jeremyjon.es" target="_blank">Jeremy Jones</a>
			</aside>
		</div>
	</div><!-- .site-info -->
Beispiel #2
0
        $ncat = oneQuery('contact_group', 'id', $vcat, 'name');
        $page = oneQuery('menu', 'link', "'?app=contact&view=person&id={$vcat}'", 'id');
        if (!$page) {
            $page = oneQuery('permalink', 'link', "'?app=contact&view=person&id={$vcat}'", 'pid');
        }
        add_permalink($item, "contact/" . $ncat, $page);
    } else {
        if ($view == 'group') {
            $ncat = oneQuery('contact_group', 'id', $id, 'name');
            add_permalink("contact/" . $ncat);
        } else {
            if (app_param() == 'contact' and empty($id) and empty($view)) {
                add_permalink("contact");
            }
        }
    }
}
/****************************************/
/*			 Contact Title				*/
/****************************************/
if (!checkHomePage()) {
    if ($view == "person") {
        define('PageTitle', contactInfo('name'));
    } else {
        if ($view == "group") {
            define('PageTitle', groupInfo('name') . ' Contacts');
        } else {
            define('PageTitle', 'Contact');
        }
    }
}
Beispiel #3
0
                /*   "WHERE A.type = B.type AND A.call='" . $row2[2] . "'"; */
                /* $r3 = getResult($q3,$db); */
                /* while ( $row3 = getRow($r3,$db) ) */
                /* { */
                /*   if ( $row3[2]==1 ) */
                /* 	$contacts = $contacts . $row3[0] . ": <b>" . $row3[1] .  */
                /* 	  "</b><br>"; */
                /*   else */
                /* 	$contacts = $contacts . $row3[0] . ": " . $row3[1] .  */
                /* 	  "<br>"; */
                /* } */
            }
            //echo "      <td " . $class . ">" . $row2[0] . "</td>";
            //echo "<td " . $class . ">" . $eccall . "</td>\n";
            //echo "      <td " . $class . ">";
            echo "<td>" . contactInfo($db, $row2[2]);
            echo "</td>\n";
            echo "      </tr>\n";
        }
        //echo "    </ul>\n";
        echo "    </table>\n";
    }
}
echo "  </div>\n";
//  sectLeaders($db);
footer($starttime, $maxdate, "\$Revision: 1.1 \$ - \$Date: 2007-10-22 21:24:26-04 \$");
?>
</div>
</body>
</html>
Beispiel #4
0
?>
</h1>
                </header><!-- .entry-header -->
            <?php 
// setup columns
$col_1 = '';
$col_2 = '';
while (have_posts()) {
    the_post();
    if (!empty(get_the_content())) {
        $col_1 .= wpautop(get_the_content());
    }
}
// end of the loop.
// check if we have an address and whatnot
$contact_info = contactInfo();
if (!empty($contact_info)) {
    $col_1 .= $contact_info;
}
// check on the form
// need this for gravity forms active check
include_once ABSPATH . 'wp-admin/includes/plugin.php';
// if it's true, let's see if there's actually a form and if gravity forms is installed
$contact_form = get_option('contact_form');
if (!empty($contact_form) && is_plugin_active('gravityforms/gravityforms.php')) {
    $col_2 .= do_shortcode('[gravityform id=' . $contact_form . ' title=false ajax=true]');
}
// Now build everything
?>
                <div class="row">
                    <?php 
Beispiel #5
0
                /*   "WHERE A.type = B.type AND A.call='" . $row2[2] . "'"; */
                /* $r3 = getResult($q3,$db); */
                /* while ( $row3 = getRow($r3,$db) ) */
                /* { */
                /*   if ( $row3[2]==1 ) */
                /* 	$contacts = $contacts . $row3[0] . ": <b>" . $row3[1] .  */
                /* 	  "</b><br>"; */
                /*   else */
                /* 	$contacts = $contacts . $row3[0] . ": " . $row3[1] .  */
                /* 	  "<br>"; */
                /* } */
            }
            echo "      <td " . $class . ">" . $row2[0] . "</td>";
            echo "<td " . $class . ">" . $eccall . "</td>\n";
            echo "      <td " . $class . ">";
            echo contactInfo($db, $row2[2]);
            echo "</td>\n";
            echo "      </tr>\n";
        }
        //echo "    </ul>\n";
        echo "    </table>\n";
    }
}
echo "  </div>\n";
//  sectLeaders($db);
footer($starttime, $maxdate, "\$Revision: 1.1 \$ - \$Date: 2007-10-22 21:24:26-04 \$");
?>
</div>
</body>
</html>