PRC Management

{source}
<?php
$dbcon = mysql_connect(“localhost”, “standup_ipuser”, “T942mwxFna%G”) or die(mysql_error());
mysql_select_db(“standup_ip2location”, $dbcon);
print “<p><a href=’add-prc’></a></p>“;
//Filtering
print “<div><table cellspacing=’6′><tr><td>Filter by: “;
$locquery = mysql_query(“SELECT DISTINCT state FROM prc_info ORDER BY state”)or die(mysql_error());
print “<select name=’filter’ onChange=’FilterState(this.value)’>
<option value=”>State</option>“;
while ($row = mysql_fetch_array($locquery, MYSQL_ASSOC)) {
    $state = $row[‘state’];
    print “<option value=’$state’>$state</option>“;
}
print “</select></td>“;
$locquery2 = mysql_query(“SELECT DISTINCT country FROM prc_info ORDER BY country”)or die(mysql_error());
print “<td><select name=’filter’ onChange=’FilterCountry(this.value)’>
<option value=”>Country</option>“;
while ($row = mysql_fetch_array($locquery2, MYSQL_ASSOC)) {
    $country = $row[‘country’];
    print “<option value=’$country’>$country</option>“;
}
print “</select></td><td><a href=’prc-management’>Show All</a></td>
</tr></table></div>“;
if (isset($_GET[‘state’])) {
    $loc = $_GET[‘state’];
    $result = mysql_query(“SELECT * FROM prc_info WHERE state = ‘$loc’ ORDER BY id DESC”)or die(mysql_error());
}else if (isset($_GET[‘country’])) {
    $loc = $_GET[‘country’];
    $result = mysql_query(“SELECT * FROM prc_info WHERE country = ‘$loc’ ORDER BY id DESC”)or die(mysql_error());
}else {
    $result = mysql_query(“SELECT * FROM prc_info ORDER BY id DESC”)or die(mysql_error());
}
//List PRCs
print “<table cellspacing=’10’ width=’100%’ border=’0′>
<tr><td></td><td><b>PRC</b></td><td><b>Contact</b></td>
<td align=’center’><b>Test</b></td><td align=’center’><b>Email</b></td></tr>“;
while ($row = mysql_fetch_array($result, MYSQL_ASSOC)) {
    $id = $row[‘id’];
    $prc = $row[‘name’];
    $address = $row[‘address’];
    $city = $row[‘city’];
    $state = $row[‘state’];
    $zip = $row[‘zip’];
    $contact = $row[‘contact’];
    $phone = $row[‘phone’];
    $email = $row[’email’];
    $date = $row[‘date’];
    $ip = $row[‘ip’];
    $ipLoc = $row[‘ipLoc’];
    $tested = $row[‘tested’];
    $emailed = $row[’emailed’];
    print “<tr><td width=’250′ valign=’top’><a class=’prcinfopop’><img src=’https://www.standupgirl.com/images/info.png’><b>Address</b><br />$address<br />$city, $state $zip<br /><b>Phone</b> – $phone</td><td width=’300′ valign=’top’>$prc</td></td><td valign=’top’>$contact</td>“;
if ($tested == 1) {
    print “<td valign=’top’ align=’center’><img src=’https://www.standupgirl.com/images/green_check.png’></td>“;
}else if ($tested == 2) {
    print “<td valign=’top’ align=’center’><img src=’https://www.standupgirl.com/images/red_x.png’></td>“;
}else {
    if ($ipLoc == ‘Outside Area’ || $ip == ”) {
    print “<td valign=’top’ align=’center’><a href=’prc-test?ip=$ip&prcid=$id&sbmt=3′>
<img src=’https://www.standupgirl.com/images/warning.png’></a></td>“;
    }else if ($ipLoc == ‘Within 30 miles’) {
    print “<td valign=’top’ align=’center’><a href=’prc-test?ip=$ip&prcid=$id&sbmt=2′><img src=’https://www.standupgirl.com/images/test.png’></a></td>“;
    }else if ($ipLoc == ‘PRC’) {
    print “<td valign=’top’ align=’center’><a href=’prc-test?ip=$ip&prcid=$id&sbmt=1′><img src=’https://www.standupgirl.com/images/test.png’></a></td>“;
    }
}
if ($tested != 0) {
    if ($emailed == 1) {
    print “<td valign=’top’ align=’center’><img src=’https://www.standupgirl.com/images/mail-sent.png’></td>“;
    }else {
    print “<td valign=’top’ align=’center’><a href=’prc-management?prcid=$id’><img src=’https://www.standupgirl.com/images/send-mail.png’></a></td>“;
    }
}
print “</tr>“;
    
}
print “</table>“;
?>
{/source}

Team Resource Page

Pregnancy Assistance

Option Line – Find a Pregnancy Center, Chat online 24×7, Call 800-712-HELP, email. Confidential and free pregnancy testing and parenting, family and financial resources.

Assistance in:

United States: all states and District of Columbia
Canadian Providences: Alberta, British Columbia, Manitoba, New Brunswick, Newfoundland, Northwest Territories, Novia Scotia, Nunavut, Ontario, Prince Edward Island, Quebec, Saskatchewan, Yukon Territory
United Kingdom: England, Northern Ireland, Scotland, Wales


Care Confidential – Free confidential counseling, support,help and advice if you are facing an unplanned pregnancy or have post-abortion concerns. Abortion information and abortion facts are available.

Assistance in:
United Kingdom: England, Northern Ireland, Scotland, Wales


Lady Care International –  Lady Care provides services to women during their reproductive years. Well woman classes, Prenatal and postpartum classes,HIV/AIDS education, abstinence classes and Natural Family planning.

Assistance in:

North Africa, the Middle East and the Indian subcontinent.


Pregnancy Support Services of Asia
A. Arroz Avenue
Makati City, Philippines 1108
632.586.3069 & 632.403.7179
Website – heartbeatasia.com


Life House – What you will see at Lifehouse is what we believe is the model of a maternity home that meets the needs of that woman in today’s 2011 culture. We support all our residents regardless of their plan to parent or place for adoption. Our goal is to have a healthy mother having a healthy baby and reaching her full potential. A young woman can remain in our program for up to three years and we offer help with college.


Heartbeat International – Worldwide directory of Pregnancy Help (They are a Christian Organization; please beware this when sending a girl outside of the US to their site. If she is NOT a believer, this may turn her away.)


Direct.gov – Childcare support for young learners in the UK. Helpline 0800-121-8989. Resources for helping single parents go to school and raise their child.


Saint Child – Saint Child provides support and resources for young pregnant women that chose to parent or that choose to place their baby with a loving family through adoption.


Night Light Christian Adoptions

Mission Statement

Our mission is to share God’s love by:

  • Helping children, both domestic and international, to find loving families
  • Assisting birthparents and genetic parents in making a wise and loving plan for their child’s future
  • Preparing families to be committed and effective parents to adoptive children
  • Recognizing and advocating the personhood of pre-born children

We are committed to carrying out our mission in a way that will bring glory and honor to our Lord and Savior, Jesus Christ.


Hands of Grace Ministries – It is the goal of this ministry to embrace and encourage teens who have chosen life for their unborn child by providing housing, financial, spiritual and emotional support.


Post Abortion Assistance

Rachel’s Vineyard – Rachel’s Vineyard is a safe place to renew, rebuild and redeem hearts broken by abortion. Weekend retreats offer you a supportive, confidential and non-judgmental environment where women and men can express, release and reconcile painful post-abortive emotions to begin the process of restoration, renewal and healing.

SaveOne.org – Our mission is to reach men and women who are suffering in silence after an abortion. Our passion is to help men and women reclaim and restore their peace of mind and self-worth. SaveOne will give you the necessary tools to assist in rebuilding your life. We offer help through group study, one-on-one help, or answering questions and giving encouragement through self-study.

White as Wool – White as Wool is a ministry of Christian women who have suffered from the choice of abortion. Not only have we each quietly suffered from the tragic choice to abort our babies, but we have also been set free from the guilt and the shame as we’ve received healing and forgiveness. White as Wool Ministries is dedicated to helping those that are suffering quietly and alone from their choice of abortion.

www.nationalhelpline.org24/7 National Helpline for Abortion Recovery

Other Resources

Fetal Development – pregnancy.org

UK Resource Guide – Childcare Support

SUG Docs

June 2012 Team Schedule

Forum Policies

StandUpGirl History

International Pregnancy Centers

Gmail Help

Setting up an alternate “reply to” email